Commerce Engine is now in beta. We're working hard to make it better for you.
curl --request GET \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/customers/{id}/documents
{
"message": "<string>",
"success": true,
"content": {
"documents": [
{
"id": "<string>",
"document_number": "<string>",
"note": "<string>",
"status": "submitted",
"title": "<string>",
"file_url": "<string>",
"verification_type": "automatic",
"is_verified": true,
"verified_at": "2023-11-07T05:31:56Z",
"created_by": "customer",
"created_at": "2023-11-07T05:31:56Z",
"modified_by": "customer",
"modified_at": "2023-11-07T05:31:56Z",
"modified_reason": "<string>",
"expires_at": "2023-11-07T05:31:56Z"
}
]
}
}
List all documents added by a particular customer.
curl --request GET \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/customers/{id}/documents
{
"message": "<string>",
"success": true,
"content": {
"documents": [
{
"id": "<string>",
"document_number": "<string>",
"note": "<string>",
"status": "submitted",
"title": "<string>",
"file_url": "<string>",
"verification_type": "automatic",
"is_verified": true,
"verified_at": "2023-11-07T05:31:56Z",
"created_by": "customer",
"created_at": "2023-11-07T05:31:56Z",
"modified_by": "customer",
"modified_at": "2023-11-07T05:31:56Z",
"modified_reason": "<string>",
"expires_at": "2023-11-07T05:31:56Z"
}
]
}
}
customer id
OK
The response is of type object
.