Skip to main content
PATCH
/
v3
/
bundles
/
{bundle_id}
/
bundle-price-options
/
{id}
Update a bundle price option
curl --request PATCH \
  --url https://api.myscalev.com/v3/bundles/{bundle_id}/bundle-price-options/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "price": 123,
  "slug": "<string>"
}
'
{
  "bundle_id": 123,
  "id": 123,
  "name": "<string>",
  "price": 123,
  "price_bt": 123,
  "slug": "<string>",
  "stores": [
    {
      "custom_domain": {
        "full_url": "<string>",
        "id": 123,
        "is_verified": true
      },
      "id": 123,
      "name": "<string>"
    }
  ],
  "unique_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

bundle_id
string
required
id
string
required

Body

application/json

Bundle Price Option data to update

name
string
required

Name

price
number<float>
required

Price (including tax)

slug
string

Slug

Response

Bundle Price Option updated successfully

bundle_id
integer

Bundle ID

id
integer

Bundle Price Option ID

name
string

Name

price
number<float>

Price (including tax)

price_bt
number<float>

Price before tax

slug
string

Slug

stores
DomainStore · object[]

List of stores where the bundle price option is available

unique_id
string

Bundle Price Option Unique ID