- Selvhjelp
- BxAPI
Products Create
How to create products with BxEngine API
URL
/1.0/products/
Body
Object with product to create. If productno already exists, an exception is thrown (error code 500 - Internal server error).
{
"productname":"Abonnement",
"location":"nyloc",
"productno":"105"
}
BxCmd Example
bxcmd.exe -u myuser -p mypassword -c 12182 -m post --url 1.0/products/ -b "{\"productno\":\"1234\",\"location\":\"nyloc\",\"productname\":\"name\"}"