Webhook-订单发货

订单处理类型

  • 订单发货:已支付订单,进行订单发货,填写物流公司和物流单号,进行发货后触发推送

订单,推送的json数据格式如下:

格式:json

参数名称 是否必须 类型 描述
order_info 必须 array 订单信息
event_type 必须 int 事件类型:6.订单发货
event_note 必须 string 事件类型字符串:6.订单发货:order_shipped
access_key 选填 string 验签部分的字符串。为了安全,您可以进行验签,详细参看:Webhook-验签
ship_info > ship_items 必须 array 订单发货包裹详细
ship_info > tracking_number 必须 string 运单号
ship_info > tracking_company_name 必须 string 物流公司名称
{
    "event_type": 6,
    "event_note": "order_shipped",
    "order_info": {
        "id": 2938,
        "shop_id": 15,
        "order_number": "C124612307701817",
        "client_type": 1,
        "order_status": 2,
        "payment_status": 3,
        "fulfillment_status": 5,
        "checkout_type": 2,
        "lang_code": "cn",
        "items_count": 1,
        "gram": "130.00",
        "currency_code": "USD",
        "base_currency_code": "USD",
        "order_to_base_rate": "1.00",
        "curr_subtotal": "120.00",
        "base_subtotal": "120.00",
        "base_tax": "0.00",
        "curr_tax": "0.00",
        "curr_shipping_total": "0.00",
        "base_shipping_total": "0.00",
        "curr_subtotal_with_discount": "0.00",
        "base_subtotal_with_discount": "0.00",
        "curr_grand_total": "120.00",
        "base_grand_total": "120.00",
        "customer_type": 2,
        "customer_id": 46,
        "customer_email": "1186735711@qq.com",
        "customer_phone": "85232005",
        "coupon_code": "",
        "discount_set": [],
        "payment_method": "stripe",
        "payment_position_type": 1,
        "payment_fee": "0.00",
        "shipping_method_id": 24,
        "shipping_method_name": "5555",
        "note": "",
        "cancelled_at": 0,
        "cancel_reason": 0,
        "payed_at": "2024-01-24 01:54:37",
        "created_at": "2024-01-24 01:53:50",
        "updated_at": "2024-01-24 01:53:57",
        "billing_is_use_shipping_address": 1,
        "step": 6,
        "recall_status": 3,
        "recalled_at": 1706061277,
        "recall_send_email_count": 0,
        "recall_send_email_time": 0,
        "fulfilled_at": "2024-01-30 06:11:37",
        "post_saled_at": 0,
        "post_sale_status": 1,
        "tags": null,
        "over_sold_count": 0,
        "is_stock_deducted": 1,
        "fist_loading_url": "http:\/\/192.168.31.38:8081\/",
        "affiliate_tracking_id": "",
        "remark": "234234",
        "items": [
            {
                "id": 3428,
                "shop_id": 15,
                "order_id": 2938,
                "product_id": 1675,
                "variant_id": 9791,
                "spu": "82704032723923535",
                "sku": "",
                "variant_title": "120cm \/ \u9ed1\u8272",
                "product_title": "Halloween Cloak Costumes Wizard Cloak For Children Hooded Capes Mantle Black Party Decoration",
                "image": "\/product\/15\/image\/2023\/09\/11\/9d888fc9c146095c48fdc559a8c624f0.jpg",
                "gram": "130.00",
                "base_price": "120.00",
                "curr_price": "120.00",
                "base_row_tax": "0.00",
                "curr_row_tax": "0.00",
                "addition_attr_base_price": "0.00",
                "addition_attr_curr_price": "0.00",
                "addition_attr": "[{\"id\":\"0aMNmYTopjQp9hxJpG-8j\",\"type\":\"checkbox\",\"title\":\"\\u5c5e\\u6027\\u540d\",\"value\":[]}]",
                "glasses_custom_base_price": "0.00",
                "glasses_custom_curr_price": "0.00",
                "glasses_customized": null,
                "qty": 1,
                "curr_row_price": "120.00",
                "row_gram": "130.00",
                "base_row_price": "120.00",
                "is_reviewed": 2,
                "over_sold_count": 0,
                "created_at": 1706061230,
                "updated_at": 1706061237
            }
        ],
        "shippingAddress": {
            "id": 2003,
            "shop_id": 15,
            "order_id": 2938,
            "first_name": "\u5f20",
            "last_name": "\u4e09",
            "phone": "85232005",
            "company": "\u9752\u5c9b\u55e8\u805a\u5ba2",
            "address_1": "\u5353\u8d8a\u4e16\u7eaa\u4e2d\u5fc31\u53f7\u697c1901",
            "address_2": "\u8fbd\u9633\u8def\u8857\u9053",
            "city": "\u9752\u5c9b",
            "country_code": "AI",
            "province_code": "",
            "zip": "266320",
            "created_at": 1706061230,
            "updated_at": 1706061230
        },
        "billingAddress": null
    },
    "ship_info": {
        "ship_items": [
            {
                "order_item_id": 3428,
                "variant_id": 9791,
                "qty": 1
            }
        ],
        "tracking_number": "66666666",
        "tracking_company_name": "777777"
    },
    "access_key": "04ee5ab0afe7eba040a6f33520b523d55edf5bb57f7d6d456a3e029602f1fa5c"
}
Copyright © fecify.com 2022 all right reserved,powered by Gitbook该文件修订时间: 2024-02-01 11:47:42

results matching ""

    No results matching ""