Fulfillment order create
Event Group | Event Identification |
---|---|
fulfillment_order | fulfillment_order/create |
Activity creation of the fulfillment order
Request Headers
- X-Shopline-Topic string requiredEvent operation identificationExample:
orders/edited
- X-Shopline-Hmac-Sha256 string requiredSignatureExample:
XWmrwMey6OsLMeiZKwP4FppHH3cmAiiJJAweH5Jo4bM=
- X-Shopline-Shop-Domain string requiredShop domainExample:
shophub.myshopline.com
- X-Shopline-Shop-Id string requiredShop IDExample:
1610418123456
- X-Shopline-Merchant-Id string requiredMerchant IDExample:
2000001234
- X-Shopline-API-Version string requiredVersionExample:
v20210901
- X-Shopline-Webhook-Id string requiredMessage IDExample:
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"
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"
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:1
fulfillment_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:1
shop_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"
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?