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

Products

Product, option, and price management

List products

get

Retrieve a paginated list of products

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.

Query parameters
pageintegerOptional

Page number

Example: 1
per_pageinteger · max: 100Optional

Items per page (max 100)

Example: 25
searchstringOptional

Search across: name, description

Example: search term
filter[id]stringOptional

Filter by id (exact match).

filter[id.gte]stringOptional

Filter by id (greater than or equal)

filter[id.lte]stringOptional

Filter by id (less than or equal)

filter[id.in]stringOptional

Filter by id (comma-separated list). Fetches many records in one request instead of one request per id.

Example: 101,102,103
filter[id.nin]stringOptional

Filter by id (excluding a comma-separated list)

filter[name]stringOptional

Filter by name (exact match).

filter[name.contains]stringOptional

Filter by name (contains)

filter[stripe_product_id]stringOptional

Filter by stripe_product_id (exact match).

filter[stripe_product_id.contains]stringOptional

Filter by stripe_product_id (contains)

filter[is_taxable]stringOptional

Filter by is_taxable (exact match).

filter[is_commissionable]stringOptional

Filter by is_commissionable (exact match).

filter[is_subscription]stringOptional

Filter by is_subscription (exact match).

filter[use_options]stringOptional

Filter by use_options (exact match).

filter[created_at]stringOptional

Filter by created_at (exact match).

filter[created_at.gte]stringOptional

Filter by created_at (greater than or equal)

filter[created_at.lte]stringOptional

Filter by created_at (less than or equal)

filter[updated_at]stringOptional

Filter by updated_at (exact match).

filter[updated_at.gte]stringOptional

Filter by updated_at (greater than or equal)

filter[updated_at.lte]stringOptional

Filter by updated_at (less than or equal)

sortstringOptional

Sort field (prefix with - for descending)

Example: -created_at
Responses
200

Successful response with paginated list

application/json
get/v2/products
GET /v2/products HTTP/1.1
Host: api.spiffy.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "data": [],
  "pagination": {
    "page": 1,
    "limit": 25,
    "total": 150,
    "pages": 6
  }
}

Create a product

post

Create a new product with optional options and prices.

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.

Body
namestringRequired
descriptionstringRequired
is_taxablebooleanRequired
is_subscriptionbooleanRequired
use_optionsbooleanOptional
default_amountintegerOptional

Default price amount in the smallest currency unit ($10.00 USD = 1000; ¥1500 JPY = 1500).

Responses
201

Created successfully

application/json
idintegerRequired
account_idintegerRequired
is_activeboolean · nullableOptional
stripe_product_idstring · nullableOptional
namestring · max: 255 · nullableOptional
is_taxablebooleanOptional
is_commissionableboolean · nullableOptional
is_subscriptionbooleanOptional
use_optionsboolean · nullableOptional
descriptionstring · nullableOptional
created_atstring · date-time · nullableOptional
updated_atstring · date-time · nullableOptional
currencystring · enum · nullableOptionalPossible values:
uncategorized_idinteger · nullableOptional
post/v2/products
POST /v2/products HTTP/1.1
Host: api.spiffy.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 128

{
  "name": "text",
  "description": "text",
  "is_taxable": true,
  "is_subscription": true,
  "use_options": true,
  "default_amount": 1,
  "options": []
}
{
  "id": 1,
  "account_id": 1,
  "is_active": true,
  "stripe_product_id": "text",
  "name": "text",
  "is_taxable": true,
  "is_commissionable": true,
  "is_subscription": true,
  "use_options": true,
  "description": "text",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "options": [
    {
      "id": 1,
      "product_id": 1,
      "is_active": true,
      "name": "text",
      "sort_order": 1,
      "is_uncategorized": true,
      "default_amount": 1,
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z",
      "prices": [
        {
          "id": 1,
          "product_option_id": 1,
          "is_active": true,
          "stripe_plan_id": "text",
          "name": "text",
          "amount": 1,
          "frequency": "day",
          "frequency_count": 1,
          "currency": "aud",
          "is_metered": true,
          "keep_alive": true,
          "created_at": "2026-01-01T00:00:00.000Z",
          "updated_at": "2026-01-01T00:00:00.000Z"
        }
      ]
    }
  ],
  "currency": "aud",
  "uncategorized_id": 1,
  "checkouts": [
    {
      "ANY_ADDITIONAL_PROPERTY": null
    }
  ],
  "integration_mappings": [
    {
      "ANY_ADDITIONAL_PROPERTY": null
    }
  ]
}

Get product counts

get

Get product counts grouped by type (subscription vs one-time).

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.

Responses
200

Successful response

application/json
any · nullableOptional
get/v2/products/counts
GET /v2/products/counts HTTP/1.1
Host: api.spiffy.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Get products

get

Retrieve a single products by ID

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
idintegerRequired

products ID

Example: 12345
Query parameters
includestringOptional

Comma-separated list of expansions: checkouts, integration_mappings

Example: checkouts,integration_mappings
Responses
200

Successful response

application/json
idintegerRequired
account_idintegerRequired
is_activeboolean · nullableOptional
stripe_product_idstring · nullableOptional
namestring · max: 255 · nullableOptional
is_taxablebooleanOptional
is_commissionableboolean · nullableOptional
is_subscriptionbooleanOptional
use_optionsboolean · nullableOptional
descriptionstring · nullableOptional
created_atstring · date-time · nullableOptional
updated_atstring · date-time · nullableOptional
currencystring · enum · nullableOptionalPossible values:
uncategorized_idinteger · nullableOptional
get/v2/products/{id}
GET /v2/products/{id} HTTP/1.1
Host: api.spiffy.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": 1,
  "account_id": 1,
  "is_active": true,
  "stripe_product_id": "text",
  "name": "text",
  "is_taxable": true,
  "is_commissionable": true,
  "is_subscription": true,
  "use_options": true,
  "description": "text",
  "created_at": "2026-01-01T00:00:00.000Z",
  "updated_at": "2026-01-01T00:00:00.000Z",
  "options": [
    {
      "id": 1,
      "product_id": 1,
      "is_active": true,
      "name": "text",
      "sort_order": 1,
      "is_uncategorized": true,
      "default_amount": 1,
      "created_at": "2026-01-01T00:00:00.000Z",
      "updated_at": "2026-01-01T00:00:00.000Z",
      "prices": [
        {
          "id": 1,
          "product_option_id": 1,
          "is_active": true,
          "stripe_plan_id": "text",
          "name": "text",
          "amount": 1,
          "frequency": "day",
          "frequency_count": 1,
          "currency": "aud",
          "is_metered": true,
          "keep_alive": true,
          "created_at": "2026-01-01T00:00:00.000Z",
          "updated_at": "2026-01-01T00:00:00.000Z"
        }
      ]
    }
  ],
  "currency": "aud",
  "uncategorized_id": 1,
  "checkouts": [
    {
      "ANY_ADDITIONAL_PROPERTY": null
    }
  ],
  "integration_mappings": [
    {
      "ANY_ADDITIONAL_PROPERTY": null
    }
  ]
}

Update a product

put

Update product settings.

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

Body
namestringRequired
descriptionstringOptional
is_taxablebooleanRequired
use_optionsbooleanOptional
Responses
200

Successful response

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

{
  "name": "text",
  "description": "text",
  "is_taxable": true,
  "use_options": true
}

No content

Delete a product

delete

Soft delete a product and all its options and prices.

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

Responses
204

Deleted successfully

No content

delete/v2/products/{id}
DELETE /v2/products/{id} HTTP/1.1
Host: api.spiffy.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Get product automation actions

get

Get automation event actions for a product and its options.

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

Responses
200

Successful response

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

No content

Sort product options

put

Reorder product options by providing an ordered array of option IDs.

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

Body
optionsnumber[]Required

Ordered array of option IDs

Responses
200

Successful response

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

{
  "options": [
    1
  ]
}

No content

Delete a product option

delete

Soft delete an option and its prices.

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
204

Deleted successfully

No content

delete/v2/products/{id}/options/{option_id}
DELETE /v2/products/{id}/options/{option_id} HTTP/1.1
Host: api.spiffy.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Move a price to another option

post

Move a price from one product option to another.

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

price_idstringRequired

Price ID

Body
product_option_idnumberRequired

Target option ID to move the price to

Responses
200

Successful response

application/json
any · nullableOptional
post/v2/products/{id}/options/{option_id}/prices/{price_id}
POST /v2/products/{id}/options/{option_id}/prices/{price_id} HTTP/1.1
Host: api.spiffy.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 23

{
  "product_option_id": 1
}

No content

Delete a price

delete

Soft delete a price from 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

price_idstringRequired

Price ID

Responses
204

Deleted successfully

No content

delete/v2/products/{id}/options/{option_id}/prices/{price_id}
DELETE /v2/products/{id}/options/{option_id}/prices/{price_id} HTTP/1.1
Host: api.spiffy.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Last updated