Skip to main content
GET
Get a blocked date

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

blockedDateId
integer<int64>
required

Numeric ID of the blocked date.

Response

Blocked date details

id
integer<int64>
required

Numeric ID of the blocked date.

from
null | string<date>
required

First blocked calendar day (inclusive). Null when the block is open-start.

resourceType
enum<string>
required

Type of resource the blocked dates apply to. Use Shop to block every product in the store.

Available options:
Item,
Shopify::Variant,
Shopify::Product,
Shop
resourceId
integer<int64>
required

Numeric ID of the blocked resource in Supercycle.

createdAt
string<date-time>
required

When the blocked date was created.

updatedAt
string<date-time>
required

When the blocked date was last updated.

resource
object
required
description
null | string

Optional note describing why the dates are blocked.

to
null | string<date>

Last blocked calendar day (inclusive). Null when the block is open-ended.