payware_shops_get_delivery
[Merchant] Read what a shop charges for delivery, per country.
Instructions
[Merchant] Read what a shop charges for delivery, per country.
Endpoint: GET /shops/{shopCode}/delivery
Warn the merchant when the answer lists undeliverableProducts (productId, name, currency): shippable products the table has no prices for in their currency, so they cannot be delivered anywhere.
Answers {"shopCode":"S1","countries":[{"country":"BG","currency":"EUR","fee":"5.00","freeAbove":"50.00"}]}. freeAbove is optional. An empty list means "deliver anywhere, no fee", which is also what a shop with no table has. With a table, only the listed countries are served and a payer or an agent buying from elsewhere gets 409 ERR_DELIVERY_COUNTRY_NOT_SERVED.
Needs a plan that can ship: Standard or Premium. A Basic (BSC) merchant is refused with 403 ERR_METHOD_NOT_ALLOWED_FOR_CURRENT_USER_PLAN. Changes are audit-logged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"shopCode": "<shopCode>"
},
"name": "payware_shops_get_delivery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shopCode | Yes | The shop code, from payware_shops_list | |
| useSandbox | No | Use the sandbox (the default) rather than production |