Create a blocked date
Creates a manually blocked date range for an item, variant, or product in the shop. Rental scheduling blocks cannot be created through this endpoint.
Specify the resource with resourceType and resourceId (Supercycle internal IDs).
Calendar dates are inclusive; omit from or to for open-ended blocks.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Type of resource the blocked dates apply to.
Item, Shopify::Variant, Shopify::Product Numeric ID of the blocked resource in Supercycle.
First blocked calendar day (inclusive). Omit or null for an open-start block.
Last blocked calendar day (inclusive). Omit or null for an open-ended block.
Optional note describing why the dates are blocked.
Response
Blocked date created successfully
Numeric ID of the blocked date.
First blocked calendar day (inclusive). Null when the block is open-start.
Type of resource the blocked dates apply to.
Item, Shopify::Variant, Shopify::Product Numeric ID of the blocked resource in Supercycle.
When the blocked date was created.
When the blocked date was last updated.
Optional note describing why the dates are blocked.
Last blocked calendar day (inclusive). Null when the block is open-ended.