Skip to main content
POST
/
v1
/
shipping_methods
Create
curl --request POST \
  --url https://{defaultHost}/v1/shipping_methods \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "shipping_method": {
    "name": "Standard"
  }
}
'
{
  "id": "a74f773d-d204-4c89-9da7-d1838224944e",
  "object": "shipping_method",
  "description": null,
  "name": "Standard",
  "created_at": 1767909771,
  "updated_at": 1767909771
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
shipping_method
object

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

name
string

A name for this shipping method that will be visible to customers.

description
string | null

A short description for this shipping method that will be visible to customers.

metadata
object

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

shipping_rates

Expandable – Property not returned unless expanded.

created_at
integer | null

Time at which the object was created. Measured in seconds since the Unix epoch.

updated_at
integer | null

Time at which the object was last updated. Measured in seconds since the Unix epoch.