For the complete documentation index, see llms.txt. This page is also available as Markdown.

/fulfillment

Create a fulfillment

post

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
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