ProductControllerV2
Commerce Products
get/v2/commerce/products
Request
- Base URLhttps://api.railz.ai
- AuthHTTP bearer
Query parameters
connectionUuidstring required
Example:CON-396d5daa-26b2-4979-89b6-cafb2c298155
Unique connection identifier.
offsetnumber
The offset is the position in the dataset of a particular record.
limitnumber
Example:100
This is the size of the results set you would like (default: 100).
orderBystring
idstring
Example:12345
namestring
Example:Ipod
status'active' | 'archived' | 'draft'
Example:active
startDatestring
Example:2014-04-25
endDatestring
Example:2014-04-25
Response
Example response
{
"data": [
{
"id": "632910392",
"type": "Speakers",
"name": "Amazon Echo",
"description": "Sample product description",
"createdDate": "2021-03-09T10:18:29.985Z",
"sourceModifiedDate": "2021-03-09T10:18:29.985Z",
"status": "active",
"isGiftCard": true,
"productVariants": [
{
"id": "808950810",
"name": "Pink",
"isTaxEnabled": true,
"sku": "IPOD2008PINK",
"barcode": "1234_pink",
"weight": {
"value": 1.25,
"unitOfMeasure": "lb"
},
"unitPrice": 199,
"inventory": {
"totalQuantity": 10,
"quantityPerLocation": [
{
"locationRef": {
"id": "12323"
}
}
]
},
"isShippingRequired": true,
"createdDate": "2022-03-11T11:29:03-05:00"
}
]
}
],
"count": 1,
"meta": {
"connectionUuid": "CON-396d5daa-26b2-4979-89b6-cafb2c298155",
"businessName": "Railz",
"serviceName": "xero",
"reportId": [
"5fad8a342a88364234392fb5"
],
"createdAt": "2020-11-25T01:02:03Z",
"updatedAt": "2020-11-30T01:02:03Z",
"startDate": "2020-11-25T01:02:03Z",
"endDate": "2020-11-30T01:02:03Z"
}
}Changes
- info
api tag
ProductControllerV2added
- info
- info
endpoint added
- info