Skip to main content

List Shipping Methods

Retrieves a list of all available shipping methods.

HTTP Request

GET/api/shop/shipping/methods

Authorization

Authorization

  • Required: No
  • Permission: Public (read-only)
  • Authentication: None

Query Parameters

ParameterTypeDefaultDescription
limitinteger10Number of results per page
offsetinteger0Number of results to skip
searchstringSearch term to filter results by `id`, `name` and `description`
orderingstringOrder results by field (`id`, `name`)

Example Requests

1import requests
2response = requests.get('http://www.example.com/api/shop/shipping/methods', params={
3  'limit': 5,
4  'ordering': 'name',
5  'search': 'express'
6})
7print(response.json())

Status Codes

CodeDescription
200Shipping methods retrieved successfully
400Bad request — invalid parameters
500Internal server error

Response Fields

FieldTypeDescription
idintegerUnique ID of the shipping method
namestringName of the shipping method
image_dataobjectImage data associated with the shipping method (id, type, name, size, human_readable_size, f, width, height, mode)
descriptionstringDescription of the shipping method

Image Data Object Fields:

FieldTypeDescription
idIntegerUnique ID of the image
typeStringFile type (read-only, auto-detected)
nameStringOriginal filename
sizeIntegerFile size in bytes (read-only)
human_readable_sizeStringHuman-readable file size (e.g., "2.5 MB")
fStringFile URL/path
widthIntegerImage width in pixels (images only, read-only)
heightIntegerImage height in pixels (images only, read-only)
modeStringImage color mode (images only, read-only)