Skip to main content
PATCH
/
v1
/
shipping_fees
/
{id}
Update
curl --request PATCH \
  --url https://{defaultHost}/v1/shipping_fees/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "shipping_fee": {
    "amount": 25
  }
}
'
{
  "id": "c5a419ab-f5f5-42f7-a4c2-c325ef3538c4",
  "object": "shipping_fee",
  "amount": 25,
  "description": "IncrediblePromotion483131",
  "fee_type": "manual",
  "checkout": "ba082713-3706-4ea7-8975-c5bae8a54182",
  "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.

Path Parameters

id
string
required

Body

application/json
shipping_fee
object

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

amount
integer

The amount in cents to be added or subtracted, represented as an integer. For example 9900 is equivalent to $99.

description
string

A short description of the shipping fee.

fee_type
string

The type of shipping_fee – one of auto or manual.

checkout

Expandable – The associated checkout ID.

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.