Stay AI Selling Plans API

The Selling Plans API from Stay AI — 2 operation(s) for selling plans.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
Plan & Entitlement Design BC-4240.10

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /selling-plan-groups List selling plan groups · Query Selling Plan Groups #
Ask an LLM
“Which selling plan groups exist in my store?”
“Can I see all the subscription plan groups I've set up?”
Tell an agent
List my selling plan groups.
Show every subscription plan group.
POST /selling-plan-groups Create a selling plan group · Create Selling Plan Group #
Ask an LLM
“How do I add a new subscription plan group?”
“Can I create a selling plan group for a new product?”
Tell an agent
Create a selling plan group.
Add a new subscription plan group.
GET /selling-plan-groups/{sellingPlanGroupId} Get one selling plan group · Query Selling Plan Group by ID #
Ask an LLM
“What plans are in a particular selling plan group?”
“Can I look up one subscription plan group by ID?”
Tell an agent
Get selling plan group {sellingPlanGroupId}.
Show the plans in plan group {sellingPlanGroupId}.
PUT /selling-plan-groups/{sellingPlanGroupId} Update a selling plan group · Update Selling Plan Group #
Ask an LLM
“How do I change the plans in an existing selling plan group?”
“Can I edit a subscription plan group I already created?”
Tell an agent
Update selling plan group {sellingPlanGroupId}.
Edit the plans in plan group {sellingPlanGroupId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/stay-ai:stay-ai-selling-plans-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

stay-ai-selling-plans-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stay AI Selling Plans API
  version: '2.0'
  description: Documented public REST API for Stay AI (formerly Retextion), a subscription retention and growth platform for Shopify DTC brands. All endpoints are authenticated with an API key sent in the X-RETEXTION-ACCESS-TOKEN header. Paths, methods, and query/path parameters are taken from the Stay AI developer documentation at https://docs.stay.ai; request and response body schemas are simplified representations - consult the live reference for full payload details.
  contact:
    name: Stay AI
    url: https://docs.stay.ai
servers:
- url: https://api.retextion.com/api/v2
security:
- accessToken: []
tags:
- name: Selling Plans
paths:
  /selling-plan-groups:
    get:
      operationId: query-selling-plan-groups
      summary: Query Selling Plan Groups
      tags:
      - Selling Plans
      responses:
        '200':
          description: A list of selling plan groups
    post:
      operationId: create-selling-plan-group
      summary: Create Selling Plan Group
      tags:
      - Selling Plans
      responses:
        '200':
          description: Selling plan group created
  /selling-plan-groups/{sellingPlanGroupId}:
    get:
      operationId: query-selling-plan-group-by-id
      summary: Query Selling Plan Group by ID
      tags:
      - Selling Plans
      parameters:
      - name: sellingPlanGroupId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The requested selling plan group
    put:
      operationId: update-selling-plan-group
      summary: Update Selling Plan Group
      tags:
      - Selling Plans
      parameters:
      - name: sellingPlanGroupId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Selling plan group updated
components:
  securitySchemes:
    accessToken:
      type: apiKey
      in: header
      name: X-RETEXTION-ACCESS-TOKEN