Brand
Subscriptions
Remove Item From Subscription

Remove Item From Subscription

Remove a product variant from a customer subscription.

Overview

  • Method: DELETE
  • Path: /brand/subscriptions/remove-item-from-subscription/<subscriptionId>/<variantId>
  • Tags: brand

Parameters

subscriptionId (path)

  • Type: string
  • Required: Yes
  • Description: subscriptionId parameter

variantId (path)

  • Type: string
  • Required: Yes
  • Description: variantId parameter

Request Body

No request body required.

Responses

200

Successful response

Content Type: application/json

{
  "success": true
}

400

Bad Request

Content Type: application/json

{
  "error": "string",
  "details": [
    {}
  ]
}

401

Unauthorized

404

Not Found

500

Internal Server Error

Example Usage

curl -X DELETE \
  https://api.pillexa.com/brand/subscriptions/remove-item-from-subscription/<subscriptionId>/<variantId> \
  -H "Content-Type: application/json" \