v1
latestOpenAPI 3.1.02026-07-24920300.7 KBRetrieve Rotating Ordinal Subscription Context
Returns the Ordinal Subscription Context for the given subscription and product. This ordinal represents the number of recurring orders for the given product and subscription combination - see https://developer.ordergroove.com/docs/ordinal-based-rotating-products#example for an example.
get/subscriptions/{subscription_id}/rotation_ordinal/{product_id}
Path parameters
subscription_idstring required
Subscription Public ID
product_idstring required
Product ID
Response
200
Example response
{
"ordinal": 3,
"rotating_product": "active_rotating_product",
"subscription": "g65765d4932511ef8dcce65j0382kc89",
"active": true
}