Retrieves a list of products.
filter | string Filters the collection items. This field requires
a special format. Use For more information, see Using filter with collections. |
sort | Array of strings Sorts and orders the collection of items. To sort in descending
order, prefix with |
limit | integer [ 0 .. 1000 ] Limits the number of collection items to be returned. |
offset | integer >= 0 Specifies the starting point within the collection of items to be returned. |
q | string Use this field to perform a partial search of text fields. |
List of products retrieved.
name required | string <= 255 characters Name of the product. |
id | string <= 50 characters ID of the product. |
unitLabel | string <= 50 characters Default: "unit" Unit label, such as per |
description | string or null <= 512 characters Description of the product. |
requiresShipping | boolean Specifies if the product requires shipping.
If this value is |
options | Array of strings Product options such as color, size, and so forth. Product option values are defined in plans. For more information, see Plans. |
customFields | object (ResourceCustomFields) Default: {} Use custom fields to extend a resource scheme to include custom data that is not provided as a common field. For more information, see Custom fields. |
createdTime | string <date-time> (CreatedTime) Date and time which is set automatically when the resource is created. |
updatedTime | string <date-time> (UpdatedTime) Date and time which updates automatically when the resource is updated. |
Array of objects (SelfLink) Related links. | |
Unauthorized access. Invalid credentials used.
Access forbidden.
[- {
- "id": "prod_0YV7DES3WPC5J8JD8QTVNZBZNZ",
- "name": "Premium membership",
- "unitLabel": "seat",
- "description": "string",
- "requiresShipping": false,
- "options": [
- "string"
], - "customFields": {
- "foo": "bar"
}, - "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}
]