Skip to main content

Availability

Representation of when something e.g. a product is available

type Availability {
id: Int
label: [LocalizedString]
deliveryTime: Range
watchable: Boolean
requestable: Boolean
bookable: Boolean
buyable: Boolean
visible: Boolean
overrideVisible: Boolean
}

Fields​

id ● Int​

Stock status id

label ● [LocalizedString]​

Stock status label

deliveryTime ● Range​

Localized delivery time min/max in days

watchable ● Boolean​

Is the object watchable

requestable ● Boolean​

Is the object requestable

bookable ● Boolean​

Is the object bookable

buyable ● Boolean​

Is the object buyable

visible ● Boolean​

Is this availability visible

overrideVisible ● Boolean​

Is it possible to use overrideVisibility for this availability

Example​

{
"label": [
{
"language": "EN",
"value": "String"
}
],
"deliveryTime": {
"min": 10,
"max": 100
}
}