v1

latestOpenAPI 3.0.3ISC2026-07-134096160.7 KB
Orders

Calculate the shipping cost of an order

Calculate the shipping cost of an order

post/v1/shops/{shop_id}/orders/shipping.json

Request body

Example request

{
  "line_items": [
    {
      "product_id": "5bfd0b66a342bcc9b5563216",
      "variant_id": 17887,
      "quantity": 1,
      "external_id": "line-item-abc-001"
    }
  ],
  "address_to": {
    "first_name": "Jane",
    "last_name": "Smith",
    "address1": "ExampleBaan 121",
    "address2": "Apt 4B",
    "city": "Retie",
    "zip": "2470",
    "email": "example@msn.com",
    "phone": "0574 69 21 90",
    "country": "BE",
    "company": "MSN"
  }
}

Response

Successful operation

standardinteger
expressinteger
priorityinteger
printify_expressinteger
economyinteger

Example response

{
  "standard": 1000,
  "express": 5000,
  "priority": 5000,
  "printify_express": 799,
  "economy": 399
}