Providers
This page includes all endpoints available for the providers module of Logiciel Actif.
List all providers
GET
https://app.gem-books.com/api/providers
This endpoint allows you to get the list of your providers. The providers are returned, sorted by code (A-Z).
Query Parameters
Name | Type | Description |
---|---|---|
page | integer | The number of the page you wish to see. Default is 1. |
per_page | integer | The number of the desired result per page. Default is 20. Maximum values is 100. |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Bearer token. |
Accept | string | Should be |
Retrieve a provider
GET
https://app.gem-books.com/api/providers/:id
This endpoint allows you to get the details of the provider.
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | The ID of the provider to retrieve. |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Bearer token. |
Accept | string | Should be |
Create a provider
POST
https://app.gem-books.com/api/providers
This endpoint allows you to create a provider. Returns the created provider.
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Bearer token. |
Content-Type | string | Should be |
Accept | string | Should be |
Request Body
Name | Type | Description |
---|---|---|
code | string | Provider code. |
name | string | Provider name. |
Update a provider
PUT
https://app.gem-books.com/api/providers/:id
This endpoint allows you to update a specific provider. Returns the updated provider.
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | Provider id to update. |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Bearer token. |
Content-Type | string | Should be |
Accept | string | Should be |
Last updated