Patch consents, will only change value of Checked.

Patch consents

SecurityBearer
Request
path Parameters
order_id
required
string

Order identifier

header Parameters
x-merchant
required
string non-empty

Merchant identifier.

Example: norce
x-channel
required
string non-empty

Channel identifier

Example: 1
Request Body schema: application/json

Consents

Array
id
string

Unique ID for the consent item.

checked
boolean

Consent checked status.

text
string

Consent description.

required
boolean

Required for transitioning order state to 'Processing'

Responses
200

OK

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Server Error

patch/api/v0/checkout/orders/{order_id}/consents
Request samples
application/json
[
  • {
    }
]
Response samples
application/json
{
  • "code": "order-not-found",
  • "message": "Order with id:{id} not found."
}
Copyright © Norce 2024. All right reserved.