Purchases
Assign customer
The method assigns customer to the existing purchase. If customer could collect points, he is going to gain corresponding amount of points. ⚠️ Endpoint is available only in the Enterprise interface.
post/purchases/actions/assign-customer
Headers
Accept-Languagestring
The unique ID of the language code by ISO 639-1.
Request body
Example request
{
"store_id": "81eaeea13b8984a169c490a325",
"external_purchase_id": "8fbea1c1eaa8edd35e7f288",
"card_number": "1000000000016",
"customer_id": "8ea2591121e636086a4a9c0992"
}Response
No Content