Create Operating Calendar Closure
Beta/v1/operations/operating-calendars/{id}/closuresIdempotent with Idempotency-Key header. Learn more
Closes a calendar on a date.
Every ship-by date resolved against this calendar afterwards walks past the closure: a carrier that does not move on Thanksgiving pushes the day an order has to leave earlier, and a plant shutdown does the same.
Closing the same date twice is a no-op rather than an error, so re-seeding a year is safe and never renames a closure somebody has relabelled.
idstringOperating calendar ID.
closed_onstring (date-time)The date nothing operates. Truncated to a day.
namestringWhat the closure is, such as "Thanksgiving Day" or "Summer shutdown".
objectstringenumValues:operating_calendar_closureResource type identifier.
idstringUnique identifier.
operating_calendar_idstringThe calendar this closure belongs to.
closed_onstring (date-time)The date nothing operates.
namestringWhat the closure is, such as "Thanksgiving Day" or "Summer shutdown".
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Responses
Successful response for Create Operating Calendar Closure