Create an order from a bag
Changed onEvery line of the bag becomes an order line, frozen as it is today (piece, price, cost, markup and the active manufacturer). A client bag already says whose it is; the counter bag needs client_id. The bag is kept as history (status ordered) and stops being the open bag.
Request
- Base URLhttps://api.rhinoartisan.com
- AuthAPI key in header apikey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The new order
Example response
{
"number": "ORD-2026-00001"
}Changes
- warning
added the new
costenum value to the//response property for the response status - warning
added the new
incidentenum value to the//response property for the response status - warning
added the new
jobenum value to the//response property for the response status - warning
added the new
shipmentenum value to the//response property for the response status - warning
added the new
shippedenum value to theresponse property for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning
- info
endpoint added
- info