Actions

Preview a write

Every write happens in two steps. This call changes nothing and costs 0 credits: it returns what would change (preview) and a confirmToken. Send the token to POST /actions/confirm to apply it. Test keys (sl_test_) never write.

post/actions

Request

  • Base URL: https://storelift.net/v1
  • URL: https://storelift.net/v1/actions
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Response

OK

previewobject required

before and after of what the action changes.

confirmTokenstring required
expiresAtstring date-time required
creditsinteger required

Credits the confirm step will use.

Changes

No recorded changes to this operation across all 1 revision of this API.