Add transaction points to customer
POST {{baseUrl}}/transaction/:id
Service urls:
http://yourdomain.com/api/rest_admin/transaction/{id}
OR
http://yourdomain.com/index.php?route=rest/customer_admin/transactions&id={id}
Request Body
{"description"=>"<string>", "amount"=>"<integer>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"success":"\u003cinteger\u003e","error":["\u003cstring\u003e","\u003cstring\u003e"],"data":"\u003cobject\u003e"}