Update Order

Actions for modifying an existing order

SecurityMarketplace API Key | Merchant Secret Token | Merchant JWT
Request
path Parameters
orderId
required
string
Request Body schema: application/json
required
One of:
required
object (UpdateReferenceOrderId1)
Responses
200
400
401
403
404
405
406
409
422
429
500
503
patch/orders/{orderId}
Request samples
application/json
{
  • "UpdateReferenceOrderId": {
    }
}
Response samples
application/json
{
  • "orderId": "ordr_Z2OSz5JDfRbNb_Sc",
  • "merchantId": "mcht_Z2OSz5JDfRbNb_SY",
  • "referenceOrderId": "ORD-12411",
  • "amount": {
    },
  • "surcharge": {
    },
  • "customerEmailAddress": "string",
  • "customerPhoneNumber": "string",
  • "customerName": "string",
  • "orderType": "online",
  • "orderTypeDetails": {
    },
  • "description": "string",
  • "items": [
    ],
  • "discountAmount": 0,
  • "shipping": {
    },
  • "billing": {
    },
  • "metadata": { },
  • "status": "created",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}
Copyright © April Solutions 2023. All right reserved.