post
https://sandbox-api.softpoint.io/interface//locations//app/checkout/price_check
Checks the pricing for a cart at a specific location before checkout.
Use this endpoint to validate and retrieve the calculated price for the provided cart items.
Path Variables:
| Variable | Description |
|---|---|
url | Base API URL (environment variable) |
version | API version (environment variable) |
location_id | Unique identifier for the location |
Query Parameters:
| Parameter | Required | Example | Description |
|---|---|---|---|
global_on_id | Yes | 12 | Provided by SoftPoint |
user_id | Yes | 7 | Provided by SoftPoint |
Request Body Structure:
| Field | Type | Description |
|---|---|---|
cart | object | Cart details |
cart.employee_id_external | string | External employee ID |
cart.items | array | List of cart items |
cart.items[].category_id | integer | Category of the item |
cart.items[].id | integer | Internal item ID |
cart.items[].id_external | string | External item ID |
cart.items[].modifiers | array | List of modifiers (if any) |
cart.items[].price | integer | Price of the item |
cart.items[].price_per_unit | integer | Price per unit |
cart.items[].quantity | integer | Quantity of the item |
cart.items[].comment | string | Optional comment |
cart.items[].name | string | Item name |
cart.order_type_id_external | string | External order type ID |
cart.revenue_center_id_external | string | External revenue center ID |
global_on_id | string | Provided by SoftPoint |
user_id | integer | Provided by SoftPoint |
