The Rest API is deprecated and will be removed in the future. We recommend using the GraphQL API instead. Some endpoints may not be available anymore.

Get shipping method countries

GET

https://api.pack.cloud/v1/organizations/{organizationId}/shipping-methods/{shippingMethodId}/countries

Request

Path parameters

organizationIdstring
shippingMethodIdstring

Query parameters

filter[enabled]boolean
filter[from_country_code]string
filter[to_country_code]string

Response

OK

Body

idstring
ID of the shipping method country
from_country_codestring
From country code
Example:NL
to_country_codestring
To country code
Example:BE
enabledboolean
prevstringnull
Link to previous page
nextstringnull
Link to next page
per_pageinteger
Item count per page
Example:25