Activate the subscription items

The activation operation happens when the store delivers the item to the shopper. This operation is important because it sets the start date of the contract, when all the items in the cart have been delivered.

To activate the different items of the subscription, there is an endpoint to identify each of them

Endpoint: /api/public/v1/subscriptions/:subscription_id/cart_items/:reference_uuid/activate

Method: PATCH

Webhook confirmation

Optiqa will send a webhook, you can wait for a webhook to get the confirmation of the operation.

Payload

{}

Response

{
  "id": "d781164a-4c56-4ec0-a6dd-66b1af9b868c",
  "type": "material_subscription",
  "reference": "item_5",
  "reference_uuid": "test-uuid-123",
  "name": "Merchant merchant_2 item #5",
  "price_with_tax": {
    "value": 2500,
    "string": "25,00 €"
  },
  "quantity": 1,
  "total_with_tax": {
    "value": 2500,
    "string": "25,00 €"
  },
  "status": "active",
  "activated_at": "2025-11-12 08:28:02 +0000",
  "subscription_price": {
    "value": 1000,
    "string": "10,00 €"
  },
  "discount_type": null,
  "discount_amount": null,
  "original_price_with_tax": {
    "value": 0,
    "string": "0,00 €"
  },
  "original_subscription_price": {
    "value": 0,
    "string": "0,00 €"
  },
  "catalogue_price_with_tax": {
    "value": 0,
    "string": "0,00 €"
  },
  "catalogue_subscription_price": {
    "value": 0,
    "string": "0,00 €"
  },
  "line_price_with_tax": {
    "value": 0,
    "string": "0,00 €"
  },
  "line_subscription_price": {
    "value": 0,
    "string": "0,00 €"
  }
}