API DocumentationCart resource

Get cart pre-order (quote + purchasability)

GET
/api/manufacturer/v1/cart/{cartId}/pre-order

Generates a bundled quote and purchasability check for a cart via the pre-order pipeline. Exposed for analytics consumers needing the quoted total alongside cart contents.

Authorization

Phasio API Bearer Token
headerAuthorizationBearer <token>

Path Parameters

cartId*string

ID of the cart to pre-order

Formatuuid

Response Body

Cart pre-order retrieved successfully

application/json
  1. response
quote*
purchasability*
curl -X GET 'https://m-api.eu.phas.io/api/manufacturer/v1/cart/497f6eca-6276-4993-bfeb-53cbbbba6f08/pre-order'
{  "quote": {    "currency": "string",    "localCurrency": "string",    "price": 0,    "localPrice": 0,    "subtotal": 0,    "localSubtotal": 0,    "tax": {      "components": [        {          "shortName": "string",          "longName": "string",          "percentage": 0,          "amount": 0,          "localAmount": 0        }      ],      "totalPrice": 0,      "localTotalPrice": 0,      "totalPercentage": 0,      "isTaxAppliedToShipping": true,      "isTaxExempted": true,      "isTaxReverseCharged": true,      "accountingSystemTaxId": "string"    },    "lineItems": [      {        "name": "string",        "basePrice": 0,        "termPrice": 0      }    ],    "discount": 0,    "localDiscount": 0,    "shipping": {      "price": 0,      "localPrice": 0,      "accountingCategory": "string"    },    "topUp": {      "price": 0,      "localPrice": 0,      "accountingCategory": "string"    },    "requisitions": {      "property1": {        "partRevisionId": "d6aa80a1-8f9a-4090-941a-f51f551521b8",        "localManufacturingPrice": 0,        "manufacturingPrice": 0,        "localPostProcessingPrice": 0,        "postProcessingPrice": 0,        "localUnitPrice": 0,        "unitPrice": 0,        "localPrice": 0,        "price": 0,        "postProcessingOptions": [          {            "id": 0,            "price": 0,            "localPrice": 0,            "variables": {              "property1": 0,              "property2": 0            }          }        ],        "accountingCategoryCode": "string",        "quantity": 0,        "variables": {          "property1": 0,          "property2": 0        },        "reviewRequired": true      },      "property2": {        "partRevisionId": "d6aa80a1-8f9a-4090-941a-f51f551521b8",        "localManufacturingPrice": 0,        "manufacturingPrice": 0,        "localPostProcessingPrice": 0,        "postProcessingPrice": 0,        "localUnitPrice": 0,        "unitPrice": 0,        "localPrice": 0,        "price": 0,        "postProcessingOptions": [          {            "id": 0,            "price": 0,            "localPrice": 0,            "variables": {              "property1": 0,              "property2": 0            }          }        ],        "accountingCategoryCode": "string",        "quantity": 0,        "variables": {          "property1": 0,          "property2": 0        },        "reviewRequired": true      }    },    "exchangeRate": 0,    "expenses": {      "property1": 0,      "property2": 0    },    "expectedDispatchDate": "2019-08-24",    "shipment": {      "price": 0,      "localPrice": 0,      "accountingCategory": "string"    },    "dispatchDate": "2019-08-24"  },  "purchasability": {    "parts": {      "property1": {        "partRevisionId": "d6aa80a1-8f9a-4090-941a-f51f551521b8",        "warnings": {          "hasOptimalWallThickness": true        },        "limits": {          "withinBoundingBoxLimit": true,          "withinWallThicknessLimit": true        },        "values": {          "boundingBox": [            0          ],          "wallThicknessLimit": 0,          "wallThicknessWarning": 0,          "bendingEnabled": true,          "machiningEnabled": true        }      },      "property2": {        "partRevisionId": "d6aa80a1-8f9a-4090-941a-f51f551521b8",        "warnings": {          "hasOptimalWallThickness": true        },        "limits": {          "withinBoundingBoxLimit": true,          "withinWallThicknessLimit": true        },        "values": {          "boundingBox": [            0          ],          "wallThicknessLimit": 0,          "wallThicknessWarning": 0,          "bendingEnabled": true,          "machiningEnabled": true        }      }    },    "withinBoundingBoxLimit": true,    "withinMaximumOrderValue": true,    "isMaterialPurchasable": true,    "isPostProcessingPurchasable": true,    "withinWallThicknessLimit": true,    "isPriceReviewRequired": true,    "canBePurchased": true  }}