getInventoryShippingTemplates
Returns a list of available shipping templates (delivery schemas) for all connected marketplace integrations. Use the returned template IDs when setting the shipping_template parameter in the addInventoryProduct method.
Input parameters
Output data
The method returns the data in JSON format.
| status | varchar(30) | SUCCESS - request executed correctly ERROR - an error occurred during an API request. Error details will be described in 2 additional returned fields: error_message and error_code |
| shipping_templates | array | A flat list of shipping template objects. Each object contains the fields listed below. |
| | - source | text | Integration source identifier in the format "[type]_[account_id]" (e.g. "allegro_123", "ebay_456", "amazon_0", "shopee_101"). For integrations where templates are shared across all accounts (e.g. Amazon), the account_id is 0 (e.g. "amazon_0"). |
| | - site | mixed | Marketplace site code (e.g. "us", "de", "pl") for integrations that organize templates per site (eBay, Amazon). null for integrations without per-site templates (Allegro, most new marketplaces). |
| | - id | text | Shipping template identifier. This value should be used when setting the shipping_template in addInventoryProduct. |
| | - name | text | Human-readable name of the shipping template. |
Sample
Input data:Output data:
A sample request in PHP: