Logo
⌘K

Price Check by ID

Calculate what sending an order in status PendingFulfillmentAction to production would cost, before sending it with /orders/send-to-production.The quote uses the same pricing as sending the order to production. It uses the order's saved items, branding, gift message and address, along with any shipping upgrade and refund already recorded on it. The gift message uses the current fee. The quote holds as long as the order and pricing don't change before it's sent.
Parameters

orderId

string

Required

Unique identifier of the order.
Returns

The cost breakout and total the order would be charged when sent to production.

GET

/orders/price-check-by-id

curl -G 'https://www.artelo.com/api/open/orders/price-check-by-id?orderId=d310e238-1cef-49c8-bb63-2e93a06badb4' \
  -H 'Authorization: Bearer your-token'
Response
{
  "orderCosts": {
    "amountRefunded": 0,
    "arteloShipping": 10,
    "branding": 1,
    "customPricingAdjustment": 0,
    "giftMessage": 1,
    "gst": 0,
    "holidayFees": 0,
    "hst": 0,
    "packaging": 0,
    "productionCost": 5,
    "pst": 0,
    "total": 17,
    "usSalesTax": 0,
    "wholesaleDiscount": 0
  },
  "orderItemCosts": [
    {
      "amountRefunded": 0,
      "arteloShipping": 0,
      "branding": 0,
      "customPricingAdjustment": 0,
      "giftMessage": 0,
      "gst": 0,
      "holidayFees": 0,
      "hst": 0,
      "orderItemId": "poster-1",
      "packaging": 0,
      "productionCost": 5,
      "pst": 0,
      "total": 5,
      "usSalesTax": 0,
      "wholesaleDiscount": 0
    }
  ]
}