Products
This page includes all endpoints available for the sales products of Logiciel Actif.
List all sales products
GET
https://app.gem-books.com/api/sales_products
This endpoint allows you to get the list of your sales. The transactions are returned sorted by most recent number.
Headers
Authentication*
string
Bearer Token
Accept
string
Should be application/json
Retrieve a specific sale product
GET
https://app.gem-books.com/api/sales_products/:id
This endpoint allows you to get one specific sale product.
Path Parameters
id
integer
The ID of the sales product to retrieve.
Headers
Authentication*
string
Bearer Token
Accept
string
Should be application/json
Create a sale product
POST
https://app.gem-books.com/api/sales_products
Headers
Authentication
string
Bearer Token
Content-type
string
Should be application/json
Accept
string
Should be application/json
Request Body
sale_id
string
Invoice ID
product_id
string
Payment method ID
Body Example
Update a sale product
PUT
https://app.gem-books.com/api/sales_products/:id
This endpoint allows you to update a specific sales product. Returns the updated sales product.
Path Parameters
id
integer
Sales product ID to update.
Headers
Authentication
string
Bearer Token
Content-Type
string
Should be application/json
Accept
string
Should be application/json
Body Example
Last updated