API reference · version 1.0.0Fusio · public API
Loading the address list…
Addresses in this part
A short list of addresses. Click an address and we show it to you above.
- get/v1/deal-products/gridList products in a tableReturns your products page by page, ready for a table, with how many deals use each. Use filter, sort, page and perPage as the shape of the list says.
- get/v1/deal-products/optionsList products for a pickerReturns products as short items for a picker, with the price, unit and VAT of each. Use it when you add items to a deal.
- get/v1/deal-products/{dealProduct}/dealsList the deals that use a productReturns at most 50 newest deals that have the product as an item. You see only deals you may see.
- post/v1/deal-productsAdd a productAdds a product and returns it. Always send sku and description, even as null.
- get/v1/deal-products/{dealProduct}Show a productReturns the product with how many deals and payment plans use it.
- put/v1/deal-products/{dealProduct}Change a productChanges the product and returns it. Send all required fields, also sku and description, as for a new product.
- delete/v1/deal-products/{dealProduct}Delete a productDeletes the product. The answer has no data. You get 422 on dealProduct when a deal uses the product; set isActive to false instead.