/fulfillment
Creates a fulfillment for a fulfillment order.
Authorizations
X-Purple-Dot-Access-TokenstringRequired
Your store's private access token. It can also be sent as Authorization: Bearer <token>.
Body
Responses
200
The fulfillment was created.
application/json
400
Invalid body, or a line item is not in the fulfillment order.
401
Access token not valid.
application/json
404
The fulfillment order was not found.
post/fulfillment
POST /admin/api/v1/fulfillment HTTP/1.1
Host: www.purpledotprice.com
X-Purple-Dot-Access-Token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 282
{
"fulfillment": {
"fulfillment_order_id": "a1b2c3d4-e5f6-4890-9234-567890abcdef",
"line_items": [
{
"id": "55bedf52-ccf0-431a-a75b-2e999e93a5da",
"quantity": 1
}
],
"notify_customer": true,
"tracking_info": {
"number": "1234567890",
"url": "https://www.myshipping.com/track/?tracknumbers=1234567890"
}
}
}{
"meta": {
"result": "success"
},
"data": {
"success": true
}
}Last updated