v1

latestOpenAPI 3.0.02026-07-14311851.4 KB
Subscription Group

Add Subscription item by groupId

Adds an SKU to a given Subscription, filtering by groupId.

post/subscriptions-group/{groupId}/additem

Path parameters

groupIdstring required
Example:1

Group ID.

Headers

Acceptstring required

HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.

Content-Typestring required

Type of the content being sent.

Request body

endpointstring required
priceAtSubscriptionDateinteger required
quantityinteger required
sellingPriceinteger required

Example request

{
  "endpoint": "string",
  "priceAtSubscriptionDate": 0,
  "quantity": 0,
  "sellingPrice": 0,
  "sku": {
    "detailUrl": "string",
    "id": "string",
    "imageUrl": "string",
    "name": "string",
    "nameComplete": "string",
    "productName": "string"
  }
}

Response

OK