curl --request POST \
--url https://staging-api.covver.io/api/ext/v1/collection/{collectionId}/orders/validate-order \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": {
"address1": "<string>",
"city": "<string>",
"countryCode": "<string>",
"phone": "<string>",
"address2": "",
"province": "<string>",
"provinceCode": "<string>",
"customAttributes": [
{
"key": "<string>",
"value": "<string>"
}
],
"zip": "",
"country": "<string>"
},
"companyId": "<string>",
"orderItems": [
{
"variantId": "<string>",
"quantity": 123
}
],
"taxNumber": "<string>",
"customAttributes": [
{
"key": "<string>",
"value": "<string>"
}
],
"orderNumber": "<string>",
"shouldValidateProvinceCode": true
}
'