Orders

Update order by ID

put/orders/{id}

Path parameters

idinteger required

The SamCart ID for the order

Request body

custom_field_slugstring

Set this value to the slug of custom field

custom_field_datastring

Set this value to the new data of the custom field

Example request

{
  "custom_field_slug": "custom_zL6FLFM3",
  "custom_field_data": "America"
}

Response

Successful operation

successstring

True/False value if the request was successful

datastring

The updated data

Example response

{
  "success": "true",
  "data": "custom_zL6FLFM3 updated to: 'America'"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.