Products

Register a product

POST
/api/products
Register a product this station may pick
curl --request POST \
  --url https://rologi-motion.example.com/api/products \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Ras-Api-Version: 1' \
  --data '
{
  "articleId": "503",
  "articleName": "AOD-S9S-224",
  "weightGrams": 175
}
'
{
  "data": "ok",
  "status": "ok"
}

Register the article ID, name and weight before submitting a task that references it. A task productId maps to articleId. This shared command is available in task mode and retains its existing plain JSON body, without the task message envelope. Only the configured station is addressed.

Related guide: Products and station.

Authorizations

Authorization
stringheaderrequired

JWT for your integration. Rologi Motion checks the issuer, the audience and the allowlist for your direction.

Parameters

Ras-Api-Version
stringheader

API version. Omit to use the oldest supported version; currently 1.

Body

application/json
articleId
stringrequired
articleName
stringrequired
weightGrams
numberrequired

Product weight in grams.

Response

application/json

Accepted.

data
string
status
string

Status value. Allowed values, where restricted, are listed below.