Archive an account

An archived account remains in Salesmachine database but is not visible and not processed. An archived account can be unarchived via API or the application UI. If updates or events related to this account are received they will be ignored.

post
archive an account

https://data.salesmachine.io/v2/accounts/:id/archive
This endpoint allows you to get free cakes.
Request
Response
Request
Path Parameters
id
required
string
Salesmachine account ID
Response
200: OK
Cake successfully retrieved.
{ "name": "Cake's name", "recipe": "Cake's recipe name", "cake": "Binary cake"}
404: Not Found
Could not find a cake matching this query.
{ "message": "Ain't no cake like that."}

Example

curl -X GET https://data.salesmachine.io/v2/accounts/{id}/archive \
-H 'Accept: application/json' \
-H 'Authorization:Bearer <Your access token>'

‚Äč