f21981db32be
Returns a list of fees
Get all Fees.
Query parameters
A filter on the list based on the createdTime field. The value can be a string with an ISO-8601 UTC format datetime or it can be a dictionary with the following options:
- eq—return values where the createdTime field equals to this timestamp
- gt—return values where the createdTime field is after this timestamp
- gte—return values where the createdTime field is after or equal to this timestamp
- lt—return values where the createdTime field is before this timestamp
- lte—return values where the createdTime field is before or equal to this timestamp
A filter on the list based on the updatedTime field. The value can be a string with an ISO-8601 UTC format datetime or it can be a dictionary with the following options:
- eq—return values where the updatedTime field equals this timestamp
- gt—return values where the updatedTime field is after this timestamp
- gte—return values where the updatedTime field is after or equal to this timestamp
- lt—return values where the updatedTime field is before this timestamp
- lte—return values where the updatedTime field is before or equal to this timestamp
A cursor for use in pagination. The endingBefore parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with xyz your subsequent calls can include endingBefore=xyz in order to fetch the previous page of the list.
A cursor for use in pagination. The startingAfter parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with xyz, your subsequent calls can include startingAfter=xyz in order to fetch the next page of the list.
A limit on the number of objects returned. Limit can range between 1 and 100, and the default is 10.
Only return fees of this type.
Only return fees for this sku.
Only return fees in this category.
Only returns fees for this country.
Only return objects with these IDs.
Response
200 OK
Example response
{
"hasMore": true,
"data": [
{
"id": "fee_1971b9b5-7d6b-49d5-b2a6-88ca7e53f750",
"createdTime": "2018-04-25T20:36:00Z",
"type": "weee",
"skuId": "sku_7834561209",
"category": "3. IT and Telecommunication Equipment",
"value": "85\" Class Q900 QLED Smart 8K UHD TV.",
"amount": 0.5,
"battery": {
"quantity": 2,
"chemicalSystem": "Alkaline",
"iecCode": "R20"
},
"feeExemption": "exempt",
"brandName": "Samsung",
"weightAndUnits": "3.00 kg",
"rateAndUnits": "2.00 EUR",
"currency": "USD",
"country": "US",
"subdivisions": [
"CA"
],
"metadata": {
"coupon": "iOS"
},
"updatedTime": "2018-04-25T20:36:00Z"
}
]
}