Create a 10 minute pairing code for a new station
POST
/v1/stations/pairing-codesAuth: Factory API key
Request body
| Field | Type | Description |
|---|---|---|
namerequired | string | · |
rolerequired | string | · one of: "produce", "stock", "dispatch" |
Response
200
Code samples
curl -X POST "https://api.skuflo.io/v1/stations/pairing-codes" \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Sam Retailer",
"role": "produce"
}'