Orders
Edit an order
Updates an existing order. Only orders that have not been submitted and are for allowed products can be edited. You can update the company and jurisdictions.
patch/orders/{id}
Request
- Base URLhttps://www.harborcompliance.com/api/v1
- AuthOAuth 2Authorization code/api/v1/oauth/authorizeToken URL/api/v1/oauth/access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Resource UUID
Request body
Example request
{
"jurisdictions": [
{
"id": "123e4567-e89b-12d3-a456-426614174000"
}
]
}Response
Order updated successfully
Example response
{
"data": {
"company": {
"domicile": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"principal_address": {
"administrative_area": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"country": {
"id": "123e4567-e89b-12d3-a456-426614174000"
}
},
"mailing_address": {
"administrative_area": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"country": {
"id": "123e4567-e89b-12d3-a456-426614174000"
}
}
},
"jurisdictions": [
{
"id": "123e4567-e89b-12d3-a456-426614174000"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.