How to Retrieve Services
π’ Introductionβ
Services in Cortecloud correspond to orders in your ERP. Once a quote is created in Cortecloud, it becomes available for your ERP to fetch.
tip
Use the request examples in each endpoint's documentation to simplify integration.
π Services Listβ
- Objective: Retrieve a list of services
- Route:
GET /services
- Steps:
- Send a request to the specified route, applying any necessary filters. It is highly recommended to include
limit
andoffset
parameters to control page size and pagination. - You will receive a list of available services.
- To fetch the next page, set
offset
to the value ofmeta.next
from the previous response.For example, if the previous response has
{ "meta": { "next": 10 } }
, useoffset=10
in your next request. - When
meta.next
returnsnull
, no more items are available. - Integrate the returned data into your ERP system.
- Send a request to the specified route, applying any necessary filters. It is highly recommended to include
π Service Detailsβ
- Objective: Get details of a specific service
- Route:
GET /services/:service_id
- Steps:
- Send a request to the specified route, including the
service_id
path parameter. - Review the response and use the data as needed.
The response format is documented in the endpoint reference.
- If the service is not found, a 404 error is returned.
- Send a request to the specified route, including the