Use Case for Finding Customers with Shipping Carrier Set to UPS
Use the GET command to retrieve the list of customers that have the shipping carrier set to UPS.
GET {{REST_SERVICES}}/record/v1/customer/?q=shippingCarrier IS "ups"
In the response body, you will see all the customer records that have the shipping carrier set to UPS.
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/customer/?q=shippingCarrier+IS+%22ups%22"
}
],
"count": 3,
"hasMore": false,
"items": [
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/customer/315"
}
],
"id": "315"
},
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/customer/614"
}
],
"id": "614"
},
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/customer/1317"
}
],
"id": "1317"
}
],
"offset": 0,
"totalResults": 3
}