Skip to main content
POST
/
vendor
/
shipping-profiles
/
{id}
Update a Shipping profile
curl --request POST \
  --url https://api.example.com/vendor/shipping-profiles/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "type": "<string>",
  "metadata": {}
}
'
{
  "shipping_profile": {
    "id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "deleted_at": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "type": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The ID of the shipping profile

Query Parameters

fields
string

The comma-separated fields to include in the response

Body

application/json
name
string

Name of the shipping profile

type
string

Type of the shipping profile

metadata
object

Additional metadata

Response

200 - application/json

OK

shipping_profile
object

The shipping profile details.