Fulfillment order create
| Event Group | Event Identification |
|---|---|
| fulfillment_order | fulfillment_order/create |
Activity creation of the fulfillment order
Request Headers
- X-Shopline-Topic string requiredThe unique identifier for the event.Example:
orders/edited - X-Shopline-Hmac-Sha256 string requiredThe signature of the request. Upon receiving the request, you must verify the signature to confirm the authenticity and integrity of the data.Example:
XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM= - X-Shopline-Shop-Domain string requiredThe store domain.Example:
example.myshopline.com - X-Shopline-Shop-Id string requiredThe store ID.Example:
1610418123456 - X-Shopline-Merchant-Id string requiredThe merchant ID.Example:
2000001234 - X-Shopline-API-Version string requiredThe API version.Example:
v20250601 - X-Shopline-Webhook-Id string requiredThe ID of this Webhook event.Example:
b54557e48a5fbf7d70bcd043
Request Body
fulfillment_orderobject
Performance detailsassigned_locationobject
Location details assignedaddress1 stringAddress 1Example:"Chestnut Street 92"address2 stringAddress 2Example:"Chestnut Street 92"city stringCityExample:"Louisville"country stringCountryExample:"United States"country_code stringCountry codeExample:"US"location_id stringAddress IDExample:"5327026538935748524"name stringNameExample:"Apple API Shipwire"phone stringMobile phoneExample:"+1(502)-459-3417"province stringProvinceExample:"Kentucky"zip stringPostal codeExample:"40202"assigned_location_id stringAssigned location idExample:"5327026538935748524"created_at stringThe date and time when the fulfillment order was created. Format: ISO 8601.delivery_methodobject
Shipping method information for the ordermax_delivery_date_time stringLate deliveryExample:"2021-05-26T10:00:00-04:00"method_type stringDelivery method : local、none、pick_up、retail、shippingExample:"none"min_delivery_date_time stringShip time availableExample:"2021-05-26T10:00:00-04:00"service_code stringShipping plan code of the carrier.shipping_rate_name stringName of the shipping rate, which is available only when the shipping method isSHIPPINGorLOCAL_DELIVERY.shipping_strategy_name stringThe name of the shipping strategy. It has a corresponding value only when the shipping method isSHIPPINGorLOCAL_DELIVERY.destinationobject
Consignee informationaddress1 stringAddress 1Example:"Chestnut Street 92"address2 stringAddress 2Example:"Chestnut Street 92"city stringCityExample:"Louisville"company stringCompanyExample:"Apple inc"country stringCountryExample:"US"country_code stringCountry codeExample:"US"delivery_store_code stringLocal delivery store id, provided only for local deliveryExample:"A121"delivery_store_name stringLocal delivery store name, provided only for local deliveryExample:"Napo Shop"email stringMailboxExample:"bob.norman@mail.example.com"first_name stringNameExample:"Bob"last_name stringLast nameExample:"Norman"name stringNameExample:"Bob Norman"phone stringMobile phoneExample:"+1(502)-459-3417"province stringProvinceExample:"Kentucky"province_code stringThe IOS 3166-2 code of state or provinceExample:"KY"zip stringPostal codeExample:"40202"fulfillment_holdsobject[]
Pause informationreason stringPause causeExample:"out of stock"reason_note stringPause notesExample:"customer require"id stringPerformance order idExample:"4005740193290131085320"line_itemsobject[]
Product line informationcountry_code_of_origin stringCountry code of origin/shipping pointExample:"US"fulfillable_quantity stringAvailable in approximately Product quantitiesExample:1fulfillment_order_id stringPerformance order idExample:"4005740193290131085320"harmonized_system_code stringCustoms codeExample:"121"id stringPerformance order Product line idExample:"1039283"line_item_id stringProduct row idExample:"518995019"quantity longOrder Product line Product quantityExample:1shop_id stringstore IDExample:"1644828244663"variant_id stringProduct skuExample:"18055128824718541486811487"merchant_requestsobject[]
Request shipping information listkind stringRequest type : 1 fulfillment_request 2 cancellation_requestExample:"fulfillment_request"message stringNotes for the shipping applicationExample:"accept"request_optionsobject
Request parametersnotify_customer booleanNotify customers whether or notsend_at stringRequest timeExample:"2021-05-26T10:00:00-04:00"order_id stringOrder idExample:"21057401932826316666967110"request_status stringPerformance order request status, including: accepted, cancellation_accepted, cancellation_rejected, cancellation_requested, closed, rejected, submitted, unsubmittedExample:"submitted"shop_id stringstore IDExample:"1644828244663"status stringMap order status , including : open , in_progress , cmos ed , cancelled , incomplete , on_hold , scheduledExample:"open"supported_actions arrayOperation supported by the appointment order includes : create_fulfillment -- created delivery , move -- moved to a new location , hold -- suspended delivery , release_hold -- ( after pause ) started deliveryExample:["\"release_hold\""]
Status Codes
After receiving a webhook notification from SHOPLINE, you must respond with the following format:
HTTP/1.1 200 OKFor more information about how to subscribe to webhooks and webhook response rules, refer to Webhook overview.
Was this article helpful to you?