Products
Add a new product
A product your POS sells and XFaster doesn’t have yet. It is created switched off; the store adds a picture and switches it on. Without stock, a market product starts at 999.
POST
Add a new product
Authorizations
The store's API key (xfp_test_… on the sandbox, xfp_live_… on live). XFaster creates it and shows it once. An integrator key (one key for a POS company) also sends X-XFaster-Store.
Headers
Any unique string. Repeating a request with the same key within 24 hours returns the first answer instead of acting twice.
Example:
"5f0c3d1e-8b6a-4e1f-9c2d-7a1b0e4f6d21"
Body
application/json
Response
The new product (switched off)
Example:
3062
Example:
6000
Example:
5500
null where the store doesn't count stock (restaurants)
