POST
/
customers
/
{id}
/
documents
/
verify
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>"
    }
  }
}

Path Parameters

id
string
required

customer id

Body

application/json
document_number
string
required
document_type_id
string
required

Response

200
application/json
OK
message
string
success
boolean
content
object