Event GroupEvent Identification
fulfillmentsfulfillments/update
Order Package Update
Request Headers
  • X-Shopline-Topic string required
    Event operation identification
    Example: orders/edited
  • X-Shopline-Hmac-Sha256 string required
    Signature
    Example: XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=
  • X-Shopline-Shop-Domain string required
    Shop domain
    Example: shophub.myshopline.com
  • X-Shopline-Shop-Id string required
    Shop ID
    Example: 1610418123456
  • X-Shopline-Merchant-Id string required
    Merchant ID
    Example: 2000001234
  • X-Shopline-API-Version string required
    Version
    Example: v20210901
  • X-Shopline-Webhook-Id string required
    Message ID
    Example: b54557e48a5fbf7d70bcd043
Request Body
  • created_at string
    Creation time (see IOS8601 for the format)
    Example: 2021-08-18T23:59:59+08:00
  • id string
    Package number
    Example: 1644828244663
  • line_itemsobject[]
    Product list
  • fulfillable_quantity integer
    Available quantity
    Example: 3
  • fulfillment_service string
    Logistics business name , if there are multiple different delivery providers in Product , then use separated by ','
    Example: Sf international
  • fulfillment_status string
    The shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;
    Example: fulfilled
  • gift_card boolean
    Wei or not for gift cards
    Example: true
  • grams double
    Weight ( grams )
    Example: 100
  • id string
    The ID of the product snapshot table, generated by the system, uniquely confirms a product with the order number
    Example: 413
  • name string
    Sku title
    Example: test-002
  • price string
    Product selling price double type string
    Example: 8.00
  • price_setobject
    Product selling price , multi-currency information
  • presentment_moneyobject
    Buyer side amount information
  • amount string
    Amount
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • shop_moneyobject
    Sell side amount information
  • amount string
    Amount
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • product_id string
    SPU serial number
    Example: 16056761559984840457934011
  • quantity integer
    Product quantity
    Example: 3
  • requires_shipping boolean
    Shipping or not
    Example: true
  • sku string
    Product yards
    Example: 18056761559987524812644011
  • tax_linesobject[]
    Tax information
  • price string
    Price
    Example: 8.00
  • price_setobject
    Multi-currency information of tax
  • presentment_moneyobject
    Buyer side amount information
  • amount string
    Amount , string in double form
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • shop_moneyobject
    Sell side amount information
  • amount string
    Amount , string in double form
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • rate double
    Tax rate
    Example: 1
  • title string
    Tax name
    Example: Tax
  • taxable boolean
    Tax or not?
    Example: true
  • title string
    Product title
    Example: Beautiful skirt
  • variant_id string
    Product SKU serial number
    Example: 18056761559987524812644011
  • variant_title string
    Product attribute value , multiple divided by " / "
    Example: Like : " 155 / red / large "
  • vendor string
    Supplier
    Example: Supplier
  • name string
    Shipping short
    Example: 1032-F2
  • order_id string
    Order number
    Example: 2021-08-18T23:59:59+08:00
  • shipment_status string
    Package tracking
    Example: fulfilled
  • status string
    Logistics delivery status, success-shipped; cancelled-cancelled;
    Example: success
  • tracking_company string
    Logistics company name
    Example: Sf international
  • tracking_number string
    Third party tracking number
    Example: yun001
  • tracking_url string
    Logistics company URL
    Example: https://www.sf-international.com/
  • updated_at string
    Update time (see IOS8601 for the format)
    Example: 2022-11-04T10:18:46+00:00
Response
After receiving a webhook notification from SHOPLINE, you must respond with the following format:
HTTP/1.1 200 OK
For more information about how to subscribe to webhooks and webhook response rules, refer to Webhook overview.
Was this article helpful to you?