latestOpenAPI 3.0.02026-08-105585620.8 KB
18e2f2e178dd
Orders API
Estimate order costs
Calculates the estimated order costs including item costs, print costs (back prints, inside labels etc.), shipping and taxes
post/orders/estimate-costs
Headers
X-PF-Store-Idstring
Use this to specify which store you want to use (required only for account level token).
The store IDs can be retrieved with the Get basic information about stores endpoint.
Request body
Order required— unresolved $ref
Response
OK
Example response
{
"code": 200,
"result": {
"costs": {
"currency": "USD",
"subtotal": 10,
"shipping": 5,
"total": 15
},
"retail_costs": {
"currency": "USD",
"subtotal": 10,
"shipping": 5,
"total": 15
}
}
}