---
title: "Create Selling Plan Group"
method: POST
path: "/selling_plan_groups"
tags: ["Selling Plan Groups"]
---

# Create Selling Plan Group

`POST /selling_plan_groups`

## Request

- Base URL: `https://open.shopline.io/v1`
- URL: `https://open.shopline.io/v1/selling_plan_groups`
- Auth: HTTP bearer

## Request body

- object
  - `app_id` string, required: The ID of the app that owns the selling plan group.
  - `name` string, required: Name of the selling plan group. Max 100 characters.
  - `description` string: Description of the selling plan group.
  - `selling_plans` SellingPlan[], required: The selling plans to create for this group. Max 1 selling plan per group.
    - `selling_plan_id` string: The ID of the selling plan.
    - `name` string: The name describes the selling plan content. Max 100 characters.
    - `description` string: Buyer facing string which describes the selling plan commitment. Max 500 characters.
    - `category` 'preorder' | 'crowdfunding' | 'other': The category used to classify this selling plan for reporting purposes.
    - `delivery_policy` SellingPlanDeliveryPolicy
      - `delivery_policy_id` string: The ID of the delivery policy.
      - `delivery_trigger` 'EXACT_TIME': A selling plan policy which describes the delivery details.
      - `earliest_delivery_time` string: The earliest delivery time of the selling plan.
      - `latest_delivery_time` string: The latest delivery time of the selling plan.
  - `resources` SellingPlanGroupResource[]: The products and variants to associate with this selling plan group. <br/> Max 20 products per group, Max 100 variants (sku_ids) total per group.
    - `product_id` string: The ID of the product to associate with the selling plan group.
    - `sku_ids` string[]: The IDs of the variants to associate with the selling plan group.

## Response `201`

Created

- SellingPlanGroup
  - `group_id` string: The ID of the selling plan group.
  - `name` string: Name of the selling plan group. Max 100 characters.
  - `description` string: Description of the selling plan group.
  - `selling_plans` SellingPlan[]
    - `selling_plan_id` string: The ID of the selling plan.
    - `name` string: The name describes the selling plan content. Max 100 characters.
    - `description` string: Buyer facing string which describes the selling plan commitment. Max 500 characters.
    - `category` 'preorder' | 'crowdfunding' | 'other': The category used to classify this selling plan for reporting purposes.
    - `delivery_policy` SellingPlanDeliveryPolicy
      - `delivery_policy_id` string: The ID of the delivery policy.
      - `delivery_trigger` 'EXACT_TIME': A selling plan policy which describes the delivery details.
      - `earliest_delivery_time` string: The earliest delivery time of the selling plan.
      - `latest_delivery_time` string: The latest delivery time of the selling plan.
  - `resources` SellingPlanGroupResource[]
    - `product_id` string: The ID of the product to associate with the selling plan group.
    - `sku_ids` string[]: The IDs of the variants to associate with the selling plan group.

## Changes

- **2026-11-03** `d2518391b149`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/shoplineapp/apis/shopline-open-api/changes/selling_plan_groups/post.md)

---

[API](https://skmtc.dev/shoplineapp/apis/shopline-open-api.md) - [All operations](https://skmtc.dev/shoplineapp/apis/shopline-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shoplineapp/apis/shopline-open-api/revisions/d2518391b149?raw)
