subscriptions
General
Variantid

Remove Item From Subscription

Remove a product variant from a customer subscription.

Overview

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

Parameters

subscriptionId (path)

  • Type: string
  • Required: Yes
  • Description: No description

variantId (path)

  • Type: string
  • Required: Yes
  • Description: No description

Request Body

No request body required.

Responses

200

Success

Content Type: application/json

{
  "success": true
}

400

Validation error

Content Type: application/json

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

Example Usage

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