Skip to main content
PATCH
Update shipping contact and address fields

Authorizations

Authorization
string
header
required

Token returned by POST /auth/token, sent as Authorization: Bearer <token>.

Path Parameters

id
integer
required

Cubbo order id.

Body

application/json

Partial update of the shipping contact and address. Send only the fields to change; at least one is required.

shipping_first_name
string

Recipient first name.

Example:

"Jane"

shipping_last_name
string

Recipient last name.

Example:

"Buyer"

shipping_phone
string

Recipient phone number.

Example:

"5551234567"

shipping_email
string

Recipient email.

Example:

"buyer@example.com"

shipping_address_1
string

Street and number (first address line).

Example:

"Calle Falsa 123"

shipping_address_2
string

Second address line (apartment

Example:

"Depto 4"

shipping_neighborhood
string

Neighborhood (colonia / bairro).

Example:

"Centro"

shipping_references
string

Delivery references for the carrier.

Example:

"Blue door, ring twice"

shipping_number
string

Street number kept apart from the street name (Brazil).

Example:

"123"

shipping_number_int
string

Interior or apartment number.

Example:

"4"

shipping_city
string

City.

Example:

"Ciudad de Mexico"

shipping_state
string

State or province.

Example:

"CDMX"

shipping_zip_code
string

Postal code.

Example:

"06600"

Response

The fields that were updated, with the values now stored on the order.

Only the fields that were sent in the request, with the values now stored on the order.

shipping_first_name
string | null

Recipient first name.

Example:

"Jane"

shipping_last_name
string | null

Recipient last name.

Example:

"Buyer"

shipping_phone
string | null

Recipient phone number.

Example:

"5551234567"

shipping_email
string | null

Recipient email.

Example:

"buyer@example.com"

shipping_address_1
string | null

First address line.

Example:

"Calle Falsa 123"

shipping_address_2
string | null

Second address line.

Example:

"Depto 4"

shipping_neighborhood
string | null

Neighborhood.

Example:

"Centro"

shipping_references
string | null

Delivery references.

Example:

"Blue door, ring twice"

shipping_number
string | null

Street number.

Example:

"123"

shipping_number_int
string | null

Interior number.

Example:

"4"

shipping_city
string | null

City.

Example:

"Ciudad de Mexico"

shipping_state
string | null

State or province.

Example:

"CDMX"

shipping_zip_code
string | null

Postal code.

Example:

"06600"