Selling Plan Groups

Create Selling Plan Group

Changed on
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

app_idstring required

The ID of the app that owns the selling plan group.

namestring required

Name of the selling plan group. Max 100 characters.

descriptionstring

Description of the selling plan group.

Example request

{
  "selling_plans": [
    {
      "selling_plan_id": "sp_1001",
      "name": "2026 双11预购",
      "description": "11 月发货",
      "delivery_policy": {
        "delivery_policy_id": "dp_1001",
        "earliest_delivery_time": "2026-11-01T00:00:00.000+00:00",
        "latest_delivery_time": "2026-11-30T23:59:59.000+00:00"
      }
    }
  ],
  "resources": [
    {
      "product_id": "prod_1001",
      "sku_ids": [
        "sku_1001",
        "sku_1002"
      ]
    }
  ]
}

Response

Created

group_idstring

The ID of the selling plan group.

namestring

Name of the selling plan group. Max 100 characters.

descriptionstring

Description of the selling plan group.

Example response

{
  "group_id": "spg_1001",
  "name": "募资活动",
  "description": "2026 年双11募资活动",
  "selling_plans": [
    {
      "selling_plan_id": "sp_1001",
      "name": "2026 双11预购",
      "description": "11 月发货",
      "delivery_policy": {
        "delivery_policy_id": "dp_1001",
        "earliest_delivery_time": "2026-11-01T00:00:00.000+00:00",
        "latest_delivery_time": "2026-11-30T23:59:59.000+00:00"
      }
    }
  ],
  "resources": [
    {
      "product_id": "prod_1001",
      "sku_ids": [
        "sku_1001",
        "sku_1002"
      ]
    }
  ]
}

Changes