Docs
  • Purple Dot Overview
  • Getting Started
  • Shopify app integration
    • Installing our Shopify App
  • Platform Integration with Shopify
    • Connect to Shopify
    • Integrate Purple Dot with your Storefront
      • Integrate into Shopify Themes built with Liquid
        • Minimum Theme Requirements
      • Integrate into Shopify Headless Storefronts
        • Integrate into Shopify Hydrogen Storefronts
    • Configure Shipping Rates
    • Test the Platform Integration
    • Pre-order Tracking
    • Migrating from our Shopify App
  • Platform Integration with Salesforce
    • Integrate Purple Dot with Salesforce
      • Upgrading to 2024-08-29
  • Platform Integration With Other Platforms
    • Integrate into Another Platform
  • Platform Integration References
    • Public API
      • /waitlists
      • /availability
      • /products/preorder-state
      • /variants/preorder-state
      • /pre-orders
    • Private API
      • /waitlists
      • /pre-orders
      • /pre-orders/count
      • /pre-orders/count-units/sku/:sku
      • /inventory
      • /fulfillment-orders
      • /fulfillment-orders/:id(uuid)
      • /fulfillment
Powered by GitBook
On this page
  1. Platform Integration References
  2. Private API

/fulfillment

POST /fulfillment

Create a fulfillment for a fulfillment order.

Request:

  • fulfillment

    • fulfillment_order_id (UUID) - The ID of the Fulfillment Order you are fulfilling

    • line_items - (array) optional - it left blank, all line items will be fulfilled

      • id (string) - The Purple Dot ID of the line item

      • quantity(number) - the quantity of that line item that are being fulfilled

    • notify_customer (boolean) - Whether the customer is notified. If true, then a notification is sent when the fulfillment is created. The default value is false

    • tracking_info

      • number (string) - The tracking number of the fulfillment

      • company (string) - The name of the tracking company

      • url (string) - The URL to track the fulfillment

Example payload:

{
  "fulfillment": {
    "fulfillment_order_id": "00000000-00000000-00000000-00000000",
    "line_items": [
      {
        "id": "00000000-00000000-00000000-00000000",
        "quantity": 5
      }
    ],
    "notify_customer": true,
    "tracking_info": {
      "number": "1234567890",
      "company": "UPS",
      "url": "https://www.myshipping.com/track/?tracknumbers=1234567890"
    }
  }
}
Previous/fulfillment-orders/:id(uuid)

Last updated 16 days ago