API documentation
Method list
Test your request
Changelog


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.
statusvarchar(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_templatesarrayA flat list of shipping template objects. Each object contains the fields listed below.
| - sourcetextIntegration 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").
| - sitemixedMarketplace 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).
| - idtextShipping template identifier. This value should be used when setting the shipping_template in addInventoryProduct.
| - nametextHuman-readable name of the shipping template.



Sample
Input data:
Output data:
A sample request in PHP: