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

NameTypeDescription

Authentification*

string

Bearer Token

Accept

string

Should be application/json

{
    // Response
}

List a specific sale product

GET https://app.gem-books.com/api/sales_products/:id

This endpoint allows you to get one specific sale.

Headers

NameTypeDescription

Authentification*

string

Bearer Token

Accept

string

Should be application/json

{
    // Response
}

Create a sale product

POST https://app.gem-books.com/api/sales_products

Headers

NameTypeDescription

Authentification

string

Bearer Token

Accept

string

Should be application/json

{
    // Response
}

Body Example

{
    "sale_id": 5,
    "product_id": 1461
}

Update a sale product

PUT https://app.gem-books.com/api/sales/:id

Headers

NameTypeDescription

Authentification

string

Bearer Token

Accept

string

Should be application/json

{
    // Response
}

Body Example

{
    "product_price": 1
}

Last updated