/fulfillment-orders
GET /fulfillment-orders
GET /fulfillment-ordersList all fulfillment orders.
Request:
limit(number) - Optional. The number of fulfillment orders to retrieve. Set to 50 by default but can be set up to 250created_at_min(ISO8610 timestamp) - Optional. List fulfillment orders created since the given timestarting_after(UUID) - Optional. Paginate fulfillment orders after the given fulfillment order IDreferences(string) - Optional. Comma separated list of (URL-encoded) Purple Dot fulfillment order references
Body:
fulfillment_orders- An array containing fulfillment orders across pre-orders that are now fulfillableid- The Purple Dot ID of the fulfillment orderstatus- The current status of the fulfillment order, which can be one of:UNFULFILLED- the order has been placed and is waiting to be fulfilledFULFILLED- all items have been fulfilledVOIDED- the order was canceled
created_at(ISO8610 timestamp) - when this fulfillment order was created (effectively, when Purple Dot was told the related line items are ready to be fulfilled)purchased_at(ISO8610 timestamp) - thecreated_atof the pre-order this fulfillment order originates fromreference- The Purple Dot fulfillment order reference, defined asconcat(Purple Dot pre-order reference, fulfillment order index)customer- The customer placing the orderemail- The customer's email addressexternal_id- The Shopify ID of this customer, if we know itfirst_namelast_nametags- Shopify tags for the customerdefault_addressfirst_namelast_nameaddress1address2citypostal_codeprovince_code- The ISO3166 code of the second level administrative subdivisioncountry- The English name of the countrycountry_code- The ISO3166 code of the countryphone
currency- The presentment currency of the ordersubtotal_price- The total of the line items before taxes and shippingtotal_tax- The total tax on the pre-ordertax_included- Whether the tax is included in listed prices or nottotal_discounts- The total discounts applied to the fulfillment ordertotal_price- The fulfillment order totalline_items- Array of line items in this fulfillment orderid- The Purple Dot ID of the line itemname- The name of the product variant in this line itemproduct_id- The Shopify ID of the line item's productvariant_id- The Shopify ID of the line item's product variantsku- The SKU code of the product variant in this line itemprice- The unit cost of the product variant in this line item, before taxes/discounts etcquantity- The quantity of the line itemtaxable- Whether the product variant in this line item is taxabletax_lines- The taxes applied to the line itemprice- The total amount of tax for the line itemrate- The tax rate as a decimaltitle- The name of the taxinclusive- Whether this tax is already included in the line item price
total_discount- The total amount of discounts applied to the line itemtotal- The total cost of this line item, after tax/discounts etc, are considered
shipping_addressfirst_namelast_nameaddress1address2citypostal_codeprovince_code- The ISO3166 code of the second level administrative subdivisioncountry- The English name of the countrycountry_code- The ISO3166 code of the countryphone
shipping_lines- An array of shipping ratesid- The Purple Dot ID of the shipping lineprice- The unit cost of this shipping line, before taxes/discounts etctotal- The total cost of this shipping line, after tax/discounts etc, are consideredtitle- The user-facing name of the shipping ratecode- The shipping rate carrier codetax_lines- The taxes applied to the shipping rateprice- The total amount of tax for the shipping linerate- The tax rate as a decimaltitle- The name of the taxinclusive- Whether this tax is already included in the shipping line price
note- optional notes from the Shopify order
starting_after- The ID of the last fulfillment order in the list, which can then be used in the next requesthas_more- Indicates whether there are more fulfillment orders available to page through
Examples:
curl --request GET \
--url 'https://www.purpledotprice.com/admin/api/v1/fulfillment_orders?created_at_min=2023-08-17T00:00:00.000Z&limit=1' \
--header 'X-Purple-Dot-Access-Token: <access_token>'<incoming...>curl --request GET \
--url 'https://www.purpledotprice.com/admin/api/v1/fulfillment_orders?references=#PD12345678/2,#PD87654321/1' \
--header 'X-Purple-Dot-Access-Token: <access_token>'Last updated