Get a specific selling plan

Get a specific selling plan

get
Authorizations
Path parameters
idstringRequired

Selling plan ID

Header parameters
X-Auth-TokenstringRequired

API key for authentication

Responses
200
Selling plan details
application/json
get
GET /api/v1/external/preorders/{id} HTTP/1.1
Host: app.stoqapp.com
X-Auth-Token: text
Accept: */*
{
  "id": "text",
  "name": "text",
  "internal_name": "text",
  "enabled": true,
  "billing_type": "exact_time",
  "billing_at": "2025-07-01T19:15:12.965Z",
  "billing_after_n_intervals": 1,
  "billing_after_interval_type": "day",
  "billing_checkout_charge_amount": 1,
  "billing_checkout_charge_percentage": 1,
  "billing_checkout_charge_type": "percentage",
  "billing_title": "text",
  "billing_description": "text",
  "delivery_type": "anchor",
  "delivery_at": "2025-07-01T19:15:12.965Z",
  "delivery_after_n_intervals": 1,
  "delivery_after_interval_type": "day",
  "inventory_reserve_type": "on_sale",
  "inventory_provider": "stoq",
  "pricing_type": "percentage",
  "pricing_amount": 1,
  "pricing_percentage": 1,
  "preorder_button_text": "text",
  "preorder_button_description": "text",
  "preorder_badge_enabled": true,
  "preorder_badge_text": "text",
  "preorder_badge_text_color": "text",
  "preorder_badge_background_color": "text",
  "shipping_text": "text",
  "discount_text": "text",
  "preorder_tags": "text",
  "product_variants_source": "all",
  "product_variants_source_id": 1,
  "selling_plan_product_variants_count": 1,
  "shopify_selling_plan_id": 1,
  "shopify_selling_plan_group_id": 1,
  "shop_id": 1,
  "market_id": 1,
  "created_at": "2025-07-01T19:15:12.965Z",
  "updated_at": "2025-07-01T19:15:12.965Z",
  "discarded_at": "2025-07-01T19:15:12.965Z",
  "ongoing_job": true,
  "shopify_variant_ids": [
    1
  ]
}

Last updated