This page was automatically generated from tracezilla’s Swagger API documentation 2026-01-26
PUT /skus/{skuId}/availability
Update availability of Sku
Description
Update the specified resource in storage.
Parameters (path)
| Name | Required | Description | Values |
|---|---|---|---|
| skuId | required | Target sku. |
Request body
Description
Target availability.
Required
This parameter is required.
Request body JSON schema
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"properties": {
"next_availability_date": {
"description": "Expected next availability date",
"type": "string",
"format": "string",
"example": "A string"
},
"out_of_stock_reason": {
"description": "Reason code for being out of stock",
"type": "string",
"format": "string",
"example": "out_of_inventory"
},
"comment": {
"description": "Comment related to availability",
"type": "string",
"format": "string",
"example": "Next week"
},
"created_at": {
"description": "The time when the record was created in UTC date & time (Iso8601 ZuluString)",
"type": "string",
"format": "date-time",
"readOnly": true,
"example": "2019-01-01T13:25:32.312Z"
},
"updated_at": {
"description": "The time when the record was last updated in UTC date & time (Iso8601 ZuluString)",
"type": "string",
"format": "date-time",
"readOnly": true,
"example": "2020-01-01T13:25:32.312Z"
}
},
"type": "object"
}
Responses
201
successful operation
Response content JSON schema
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"properties": {
"properties": {
"next_availability_date": {
"description": "Expected next availability date",
"type": "string",
"format": "string",
"example": "A string"
},
"out_of_stock_reason": {
"description": "Reason code for being out of stock",
"type": "string",
"format": "string",
"example": "out_of_inventory"
},
"comment": {
"description": "Comment related to availability",
"type": "string",
"format": "string",
"example": "Next week"
},
"created_at": {
"description": "The time when the record was created in UTC date & time (Iso8601 ZuluString)",
"type": "string",
"format": "date-time",
"readOnly": true,
"example": "2019-01-01T13:25:32.312Z"
},
"updated_at": {
"description": "The time when the record was last updated in UTC date & time (Iso8601 ZuluString)",
"type": "string",
"format": "date-time",
"readOnly": true,
"example": "2020-01-01T13:25:32.312Z"
}
},
"type": "object"
},
"type": "object"
}
403
Unauthorized request
406
not acceptable
422
Has validation errors
500
Internal server error