curl --request POST \
--url https://api.pandabase.io/v2/stores/{storeId}/checkouts/estimate \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"product_id": "<string>",
"quantity": 500,
"variant_id": "<string>"
}
],
"country": "<string>",
"state": "<string>",
"coupon_code": "<string>",
"tax_id": "<string>"
}
'{
"ok": true,
"data": {
"merchant": {
"id": "<string>",
"name": "<string>",
"handle": "<string>",
"slug": "<string>",
"logo": "<string>",
"favicon": "<string>",
"accentColor": "<string>",
"primaryColor": "<string>",
"statementDescriptor": "<string>",
"supportEmail": "<string>"
},
"subtotal": 123,
"tax": {
"rate": 123,
"amount": 123
},
"total": 123,
"items": [
{
"name": "<string>",
"amount": 123,
"quantity": 123,
"image": "<string>"
}
],
"discount": {
"code": "<string>",
"amount": 123,
"type": "PERCENTAGE",
"value": 123
},
"available_payment_methods": [
"CARD",
"APPLE_PAY",
"GOOGLE_PAY",
"IDEAL",
"BANCONTACT",
"MULTIBANCO",
"MB_WAY",
"EPS",
"PRZELEWY24",
"BLIK",
"AMAZON_PAY"
]
}
}Stateless price estimation with tax and coupon preview. Does not create a session — use this to show a price breakdown before creating a checkout.
curl --request POST \
--url https://api.pandabase.io/v2/stores/{storeId}/checkouts/estimate \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"product_id": "<string>",
"quantity": 500,
"variant_id": "<string>"
}
],
"country": "<string>",
"state": "<string>",
"coupon_code": "<string>",
"tax_id": "<string>"
}
'{
"ok": true,
"data": {
"merchant": {
"id": "<string>",
"name": "<string>",
"handle": "<string>",
"slug": "<string>",
"logo": "<string>",
"favicon": "<string>",
"accentColor": "<string>",
"primaryColor": "<string>",
"statementDescriptor": "<string>",
"supportEmail": "<string>"
},
"subtotal": 123,
"tax": {
"rate": 123,
"amount": 123
},
"total": 123,
"items": [
{
"name": "<string>",
"amount": 123,
"quantity": 123,
"image": "<string>"
}
],
"discount": {
"code": "<string>",
"amount": 123,
"type": "PERCENTAGE",
"value": 123
},
"available_payment_methods": [
"CARD",
"APPLE_PAY",
"GOOGLE_PAY",
"IDEAL",
"BANCONTACT",
"MULTIBANCO",
"MB_WAY",
"EPS",
"PRZELEWY24",
"BLIK",
"AMAZON_PAY"
]
}
}Documentation Index
Fetch the complete documentation index at: https://docs.pandabase.io/llms.txt
Use this file to discover all available pages before exploring further.
Store ID (shp_ prefix)
1 - 10 elementsReference an existing product from your catalog
Show child attributes
ISO 3166-1 alpha-2 country code for tax calculation
2State/province for tax calculation
64Coupon code to preview discount
64Tax ID (VAT number) for tax exemption
32