Path Parameters
customer id
Commerce Engine is now in beta. We're working hard to make it better for you.
curl --request POST \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/customers/{id}/documents/verify \
--header 'Content-Type: application/json' \
--data '{
"document_number": "<string>",
"document_type_id": "<string>"
}'
{
"message": "<string>",
"success": true,
"content": {
"document": {
"id": "<string>"
}
}
}
Verify document number before saving.
curl --request POST \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/customers/{id}/documents/verify \
--header 'Content-Type: application/json' \
--data '{
"document_number": "<string>",
"document_type_id": "<string>"
}'
{
"message": "<string>",
"success": true,
"content": {
"document": {
"id": "<string>"
}
}
}
customer id
Was this page helpful?