To create a new price list scheduler, send a POST request to the /api/price_list_schedulers endpoint, passing the resource arguments in the request body.
Request
POST https://yourdomain.commercelayer.io/api/price_list_schedulers
Arguments
Body Parameter
Type
Required
type
string
Required
attributes._disable
boolean
Optional
attributes._enable
boolean
Optional
attributes.expires_at
datetime
Required
attributes.metadata
object
Optional
attributes.name
string
Required
attributes.reference
string
Optional
attributes.reference_origin
string
Optional
attributes.starts_at
datetime
Required
relationships.market
object
Required
relationships.price_list
object
Required
Example
The following request creates a new price list scheduler: