Commerce Engine is now in beta. We're working hard to make it better for you.
cURL
curl --request PUT \ --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/customers/{id}/documents/{document_id} \ --header 'Content-Type: multipart/form-data' \ --form 'document_number=<string>' \ --form 'kyc_document_id=<string>' \ --form 'note=<string>' \ --form 'modified_reason=<string>' \ --form file=@example-file
{ "message": "<string>", "success": true, "content": { "document": { "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" } } }
Update document detail
customer id
document id
file attachment will be required or optional as per store setting.
OK
Show child attributes
Was this page helpful?