Skip to main content
PATCH
/
v1
/
shipping_protocol
Update
curl --request PATCH \
  --url https://{defaultHost}/v1/shipping_protocol \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "shipping_protocol": {
    "shipping_enabled": true
  }
}
'
{
  "id": "36dc878e-212b-4500-8779-84e10cd2d6ff",
  "object": "shipping_protocol",
  "shipping_enabled": true,
  "created_at": 1767909772,
  "updated_at": 1767909772
}

Authorizations

Authorization
string
header
required

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

Body

application/json
shipping_protocol
object

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

shipping_enabled
boolean

If set to true a shipping choice will be required for checkouts that have shipping_enabled products.

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.