For the complete documentation index, see llms.txt. This page is also available as Markdown.

Product Option Event Actions

Get option automation actions

get

Get automation event actions for a product option.

Authorizations
AuthorizationstringRequired

Account API key authentication. Pass an API key as a Bearer token in the Authorization header. An account may have multiple named keys; any of them grants full access to all endpoints — equivalent to all OAuth scopes.

Path parameters
idstringRequired

Product ID

option_idstringRequired

Option ID

Responses
200

Successful response

application/json
any · nullableOptional
get/v2/products/{id}/options/{option_id}/actions
GET /v2/products/{id}/options/{option_id}/actions HTTP/1.1
Host: api.spiffy.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Update option automation actions

put

Save automation event actions for a product option.

Authorizations
AuthorizationstringRequired

Account API key authentication. Pass an API key as a Bearer token in the Authorization header. An account may have multiple named keys; any of them grants full access to all endpoints — equivalent to all OAuth scopes.

Path parameters
idstringRequired

Product ID

option_idstringRequired

Option ID

Body
Responses
200

Successful response

application/json
any · nullableOptional
put/v2/products/{id}/options/{option_id}/actions
PUT /v2/products/{id}/options/{option_id}/actions HTTP/1.1
Host: api.spiffy.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 80

{
  "event_actions": {
    "ANY_ADDITIONAL_PROPERTY": [
      {
        "ANY_ADDITIONAL_PROPERTY": null
      }
    ]
  }
}

No content

Last updated