Order Controller
Update order for admin
Update order status and order date
patch/orders/{id}
Path parameters
idnumber required
Request body
Example request
{
"orderStatusId": 1,
"orderDateTime": "2024-01-15T10:30:00.000Z",
"address1": "123 Main Street",
"flatUnit": "Flat 5B",
"municipality": "Madrid",
"registry": "Registro de la Propiedad",
"cruIdufir": "1234567890",
"identificationType": "None",
"identificationNumber": "X1234567L",
"nameAsPerIdentification": "John Doe",
"city": "London",
"suburb": "Ponsonby",
"county": "Greater London",
"postCode": "SW1A 1AA",
"country": "United Kingdom",
"state": "England",
"shippingAddress1": "456 Delivery Street",
"shippingAddress2": "Apartment 5B",
"shippingCity": "Manchester",
"shippingPostcode": "M1 1AA",
"shippingCounty": "Greater Manchester",
"shippingPhone": "+44 123 456 7890",
"shippingFirstName": "John",
"shippingLastName": "Doe",
"instrumentCopyNumber": "IC123456",
"orderLng": "en"
}Response
Order updated successfully
Example response
{
"orderId": 1,
"customerEmail": "customer@example.com",
"emailValid": true,
"emailValidationStatus": "UNKNOWN",
"isNewCustomer": true,
"documentAccessLink": "https://api.example.com/orders/track/abc-123-xyz"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.