comecerodocs

List shipping methods

GET
/shipping_methods

Returns your shipping methods, oldest first unless you choose another sort_by. Unlike other lists, all of them come back on one page unless you send limit. Secret and trusted tokens may call it. The same methods are also at /settings/shipping/methods.

Authorization

headerAuthorizationBearer <token>

A secret, trusted or limited token. See Authentication.

Query Parameters

offset?integer

For offset-based lists, how many items to skip before the page starts. Use next_page_offset or previous_page_offset from the page you have. A value that is not a whole number is a 400.

Range0 <= value
Default0
limit?integer

How many methods to return, from 1 to 100. When left out, all are returned.

Range1 <= value <= 100
sort_by?string

The field to sort by. The default is date_created.

Value in"date_created""date_modified""shipping_method_id""description"
desc?boolean

Sort in descending order (newest, largest or last first) when true. The default is false. A value other than true or false is a 400.

Defaultfalse
show?string

Comma-separated fields to return; all others are left out. Use dot notation for child fields (customer.email). You cannot send show and hide together (400). See Customizing output.

hide?string

Comma-separated fields to leave out of the response. Use dot notation for child fields (customer.email). You cannot send show and hide together (400). See Customizing output.

formatted?boolean

When true, the object also has a formatted child with amounts and dates as display text in the shopper's language and currency (for example $19.99 or November 7, 2026). The default is false. See Localized formatting.

Defaultfalse
q?string

Search text. An exact shipping method id returns that method; otherwise methods whose description contains the text (any case) are returned.

country?string

A two-letter ISO country code. Only methods that list this country are returned. Methods set to every country (*) are left out by this filter.

Response Body

A page of shipping methods.

application/json
  1. response

A page of shipping methods. An offset-based list.

total_items*integer

The number of items that match, across all pages.

total_pages*integer

The number of pages.

current_page*integer

The number of this page.

next_page_url*|

The URL of the next page, or null on the last page.

Formaturi
next_page_offset*|

The offset of the next page, or null on the last page.

previous_page_url*|

The URL of the previous page, or null on the first page.

Formaturi
previous_page_offset*|

The offset of the previous page, or null on the first page.

current_page_url*string

The URL of this page.

Formaturi
data*array<>

The items on this page.

Example Request
curl -X GET 'https://api.comecero.com/api/v1/shipping_methods'
Example Response
{  "total_items": 1,  "total_pages": 1,  "current_page": 1,  "next_page_url": null,  "next_page_offset": null,  "previous_page_url": null,  "previous_page_offset": null,  "current_page_url": "https://api.comecero.com/api/v1/shipping_methods",  "data": [    {      "object": "shipping_method",      "url": "https://api.comecero.com/api/v1/shipping_methods/Standard-Shipping",      "shipping_method_id": "Standard-Shipping",      "test": true,      "account_id": "AB1234",      "date_created": "2026-11-02T20:13:16Z",      "date_modified": "2026-11-02T20:13:16Z",      "description": "Standard Shipping",      "details": null,      "countries": [        "US"      ],      "quantity_config": null,      "subtotal_config": {        "percent_of_subtotal": null,        "rules": [          {            "currency": "USD",            "ranges": [              {                "minimum": 0,                "maximum": 49.99,                "price": 5              }            ]          }        ]      },      "weight_config": null,      "adjustments": null    }  ]}