Skip to main content
PUT
/
rr
/
api
/
v1
/
product-bundles
/
{id}
Update Product Bundle
curl --request PUT \
  --url https://api.meetcampfire.com/rr/api/v1/product-bundles/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "bundle_name": "<string>",
  "bundle_description": "<string>",
  "lines": [
    {
      "product": 123,
      "percentage_allocation": 50.005
    }
  ]
}
'
{
  "id": 123,
  "bundle_name": "<string>",
  "bundle_description": "<string>",
  "stripe_product_id": "<string>",
  "anrok_item_id": "<string>",
  "lines": [
    {
      "id": 123,
      "product": 123,
      "product_name": "<string>",
      "product_id_str": "<string>",
      "percentage_allocation": 50.005
    }
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "last_modified_at": "2023-11-07T05:31:56Z",
  "is_deleted": false,
  "deleted_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
integer
required

Body

bundle_name
string
required
Maximum length: 250
lines
object[]
required
bundle_description
string | null
Maximum length: 250

Response

200 - application/json
id
integer
required
bundle_name
string
required
Maximum length: 250
stripe_product_id
string | null
required
anrok_item_id
string | null
required
lines
object[]
required
created_at
string<date-time>
required
last_modified_at
string<date-time>
required
is_deleted
boolean
default:false
required
deleted_at
string<date-time> | null
required
bundle_description
string | null
Maximum length: 250