{
"metadata": {},
"data": {} or [],
"errors": []
}metadata will include:requests_remainingretry_after_secondstotal_counthas_next_pagedata will include the object or objects that your API call is requesting. If you are requesting a list of objects, data will be an array of objects. If you are requesting a single object, data will be a single object.data will have the following format:{
"type": "the_type_of_the_object",
"id": the_id_of_this_object,
"attributes": {
...
},
relationships: {
...
}
}data are:id: The unique Duoplane-generated id of this resource.type: The type of resource. For example, order or product.attributes: A JSON object representing some of the resources attributes. For example, an attribute of a product is its name.relationships: A JSON objet describing relationships between this resource and other resources. For example, a relationship of an order is its order_items.errors will be an array of error messages. If there are no error messages, errors will be an empty array.GET responses that return an array of objects are paginated. When making a GET request, you can specify the following paging parameters to retrieve a different page size or results beyond the first page:per_page: The maximum number of records to return with each call. The default and maximum value is 250.page: If the count of records matching the search exceeds the number that are returned in a single response, the page number for subsequent requests.GET https://app.duoplane.com/api/orders?page=2&per_page=100metadata:total_count: The total number of records that fit your search criteriahas_next_page: A boolean value that tells you whether any more records would be on the next page