Orders
Calculate the shipping cost of an order
Changed onCalculate the shipping cost of an order
post/v1/shops/{shop_id}/orders/shipping.json
Request
- Base URLhttps://api.printify.com
- URLhttps://api.printify.com/v1/shops/{shop_id}/orders/shipping.json
- AuthHTTP bearer
Request body
Example request
{
"line_items": [
{
"product_id": "5bfd0b66a342bcc9b5563216",
"variant_id": 17887,
"quantity": 1,
"external_id": "line-item-abc-001",
"personalisation": {
"personalisation_strategy": "pstudio_pre_order_headless",
"personalisation_instructions": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"personalisation_instructions": "Please add text"
}
],
"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
Example response
{
"standard": 1000,
"express": 5000,
"priority": 5000,
"printify_express": 799,
"economy": 399
}Changes
- warning
removed the request property
/////// - warning
removed the request property
/////// - warning
removed the request property
/////// - warning
removed the request property
/////// - warning
removed the request property
/////// - warning
removed the request property
/////// - warning
removed the request property
/////// - warning
removed the request property
/////// - warning
removed the request property
///////
- warning
- info
added the new optional request property
////// - info
added the new optional request property
////// - info
added the new optional request property
////// - info
added the new optional request property
////// - info
added the new optional request property
////// - info
added the new optional request property
//////
- info