v1
latestOpenAPI 3.0.02026-07-14205154.3 KBSubscriptions
Create subscription
Create a new subscription.
post/api/rns/pub/subscriptions
Headers
Content-Typestring required
Example:application/json
Type of the content being sent.
Acceptstring required
Example:application/json
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Request body
Example request
{
"items": [
{
"manualPrice": 40,
"quantity": 5,
"skuId": "12"
}
],
"plan": {
"frequency": {
"interval": 3,
"periodicity": "MONTHLY"
},
"id": "store.subscription",
"purchaseDay": "15",
"validity": {
"begin": "2022-06-10T00:00:00",
"end": "2023-06-10T00:00:00"
}
},
"purchaseSettings": {
"paymentMethod": {
"installments": 3,
"paymentAccountId": "340357032569595",
"paymentSystem": "4"
}
},
"shippingAddress": {
"addressId": "8109266555005",
"addressType": "residential"
}
}Response
Subscription created
Example response
{
"items": [
{
"manualPrice": 40,
"quantity": 5,
"skuId": "12"
}
]
}