Selling Plan Groups

Update Selling Plan Group

Changed on
patch/selling_plan_groups/{group_id}

Request

  • Base URL
    https://open.shopline.io/v1
  • URL
    https://open.shopline.io/v1/selling_plan_groups/{group_id}
  • Auth
    HTTP bearer

Path parameters

group_idstring required

The ID of the selling plan group.

Request body

namestring

Name of the selling plan group. Max 100 characters.

descriptionstring

Description of the selling plan group.

remove_selling_plan_idsstring[]

The IDs of the selling plans to remove from the 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"
      }
    }
  ]
}

Response

OK

codeinteger
messagestring

Example response

{
  "code": 200,
  "message": "selling_plan_group updated successfully"
}

Changes