Read back a variant's price book and recurrence (mirror of the PUT)
GET
/offerings/{offering_id}/variants/{variant_id}/pricing-schedule
const url = 'https://quikstik-core.fly.dev/offerings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/variants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/pricing-schedule';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://quikstik-core.fly.dev/offerings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/variants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/pricing-schedule \ --header 'Authorization: Bearer <token>'Symmetric read-back (gap-analysis A4): reconstructed through the same domain constructors the write validated with, so corrupt rows fail closed rather than rendering a wrong price. 404 when neither rules nor a recurrence are configured for the variant.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”offering_id
required
string format: uuid
variant_id
required
string format: uuid
Responses
Section titled “Responses”The configured price book and recurrence.
Media typeapplication/json
object
rules
required
The price book, in the same shape the PUT accepts.
Array<object>
object
schedule
The recurrence, tagged by kind (daily_at / on_demand / on_demand_window).
object
Example generated
{ "rules": [ {} ], "schedule": {}}Variant has neither rules nor recurrence configured.
Backend unavailable.