In shared multi-entity companies, vendors can be restricted to specific locations or location groups to prevent the vendor from being used in the wrong entity.
Create and maintain vendor restricted locations from the owning vendor object.
Returns a collection with a key, ID, and link for each vendor restricted location. This operation is mostly for use in testing; use the query service to find objects that meet certain criteria and to specify properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "200",
- "id": "200",
- "href": "/objects/accounts-payable/vendor-restricted-location/200"
}, - {
- "key": "198",
- "id": "198",
- "href": "/objects/accounts-payable/vendor-restricted-location/198"
}, - {
- "key": "196",
- "id": "196",
- "href": "/objects/accounts-payable/vendor-restricted-location/196"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100
}
}
Returns detailed information for a specified vendor restricted location.
key required | string System-assigned unique key for the vendor restricted location. Example: 142 |
OK
Bad Request
{- "ia::result": {
- "key": "142",
- "id": "142",
- "location": {
- "key": "3",
- "id": "3",
- "href": "/objects/company-config/location/3"
}, - "locationGroup": {
- "key": null,
- "id": null
}, - "vendor": {
- "key": "330",
- "id": "vendor-16521",
- "href": "/objects/accounts-payable/vendor/330"
}, - "href": "/objects/accounts-payable/vendor-restricted-location/142"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}