Stock

Change stocks - client mode

Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.

SecurityClient_Credentials
Request
Request Body schema: application/json
Array of objects
Responses
200

OK

Response Schema: application/json
status
string

The value “ok” if the request was received successfully.

400

Bad Request

429

Too Many Requests

500

Internal Server Error

post/v1/client/stock/update
Request samples
application/json
{
  • "updates": [
    ]
}
Response samples
application/json
{
  • "status": "ok"
}

List stocks - client mode

Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.

Stock information for all (relevant) products.

SecurityClient_Credentials
Responses
200

OK

Response Schema: application/json
Array of objects
400

Bad Request

429

Too Many Requests

500

Internal Server Error

get/v1/client/stock
Request samples
Response samples
application/json
[
  • {
    },
  • {
    }
]

List stocks for product - client mode

Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.

Stock information for a single product.

SecurityClient_Credentials
Request
path Parameters
productId
required
string <= 12 characters

Product code

Responses
200

OK

Response Schema: application/json
Array of objects
400

Bad Request

429

Too Many Requests

500

Internal Server Error

get/v1/client/stock/{productId}
Request samples
Response samples
application/json
[
  • {
    },
  • {
    }
]