Skip to main content
Version: 202201

Update Order

PUT 

/openapi/2022-01/orders/:id

Allows users to update the details of an existing order.

Request

Path Parameters

    id stringrequired

    Order's ID

Body

    notestring
    tagsstring

    Order's tags, separated by comma, for example: a,b

    buyer_accespts_marketingboolean

    Whether customer accept marketing campaign

    shipping_address object
    first_namestring

    First name of consignee.

    last_namestring

    Last name of consignee.

    emailstring
    phonestring

    Phone number, for example: 5052814445

    countrystring

    Country, for example: United States

    country_codestring

    Country code, for example: US

    provincestring

    Province, for example: New Mexico

    province_codestring

    Province Code, for example: NM

    citystring

    City, for example: SAN JOSE

    areastring

    Area, for example: Bay area

    address1string

    Street address, for example: 1 Rue des Carrieres

    address2string

    Apartment/floor/room number, for example: Suite 1234

    companystring

    Company, for example: ABC Limited

    latitudestring

    Latitude of the delivery address, for example: 22.54

    longitudestring

    Longitude of the delivery address, for example: 114.06

    phone_area_codestring

    Area code, for example: +86

    zipstring

    ZIP code, for example: 87036

Responses

200

No schema