Shipping
Introduction
Through the endpoints included in the Shipping section, you will be able to:
Calculate shipping rate for a given country and variant with specified quantity
Retrieve information about the shipping types
Retrieve information about the shipping methods
Retrieve a list of countries in our system
Retrieve a list of regions in a specific country
Endpoints
Shipping rates
This API endpoint retrieves a list of calculated shipping rates for the given items and shipping info
Request completed successfully.
Unauthorized
Unprocessable entity
Shipping types
Shipping methods
Countries
Regions
This API endpoint retrieves the list of regions within a specific country by providing its ID.
ID of country from our system
Request completed successfully.
Wrong argument
Unauthorized
Parameters
shipping
An object that contains the country property.
shipping.country
The ID of the country from our system, check /api/beta/countries for more information about the countries.
items
An array of objects that contains information about the quantity and variant.
items.*.quantity
Quantity of a variant.
items.*.variant_id
The ID of the variant, please check /api/beta/products/{product_id} for more details about the variants.
Last updated