PricingPromotions
Delete a promotion
DELETE
Stops the offer and frees its coupon code. Sales made on it keep the price they were made at. To end an offer early without losing the record of it, move its endsAt instead.
apiKeyheader
AuthorizationBearer <token>An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.
id*stringDeleted
curl -X DELETE "https://example.com/v1/promotions/prm_01K6XJ4Q8ZT3M9R5V2B7WDHNCA"Empty
Update a promotion PATCH
Send only what changes. Purchases already made keep the price they were made at, and the uses already claimed stay claimed.
List sales GET
Every purchase and renewal made for a customer, newest first, with what it cost you and what the customer pays at the prices in force at the time.