This is the API powering Omnia 2.0 and Pricemonitor, containing operations that can also be used directly by customers from their own systems.
This is the API powering Omnia 2.0 and Pricemonitor, containing operations that can also be used directly by customers from their own systems.
The Omnia 2.0 API is RESTful and provides access to the backend of Omnia 2.0 and Pricemonitor. It is used to manage products, offers, contracts, and more.
This API supports both public endpoints for customer integration and internal endpoints for platform management. All endpoints are authenticated using either Basic Authentication or JWT Bearer tokens.
https://api-docs.omniaretail.dev/_mock/api/omnia/
https://api.patagona.de/
https://api-docs.omniaretail.dev/_mock/api/omnia/api/2/companies
https://api.patagona.de/api/2/companies
curl -i -X POST \
-u <username>:<password> \
https://api-docs.omniaretail.dev/_mock/api/omnia/api/2/companies \
-H 'Content-Type: application/json'
{ "data": { "id": 0, "name": "string" } }
https://api-docs.omniaretail.dev/_mock/api/omnia/api/2/companies/{companyId}/contracts
https://api.patagona.de/api/2/companies/{companyId}/contracts
curl -i -X GET \
-u <username>:<password> \
https://api-docs.omniaretail.dev/_mock/api/omnia/api/2/companies/1/contracts
{ "data": [ { … } ] }
Contract to be added
Type of the contract. Currently, only 2 types are supported: - Pricemonitor for manufacturers - Pricemonitor for resellers
https://api-docs.omniaretail.dev/_mock/api/omnia/api/2/companies/{companyId}/contracts
https://api.patagona.de/api/2/companies/{companyId}/contracts
curl -i -X POST \
-u <username>:<password> \
https://api-docs.omniaretail.dev/_mock/api/omnia/api/2/companies/1/contracts \
-H 'Content-Type: application/json' \
-d '{
"contractType": "string",
"contractName": "string",
"expirationDate": "2019-08-24T14:15:22Z"
}'
{ "data": { "active": true, "companyName": "string", "contractId": "string", "contractName": "string", "contractType": "string", "expirationDate": "2019-08-24T14:15:22Z" } }