Fetch API (v3.0: 3.25.0.4)
For differences between versions, see Changelog.
https://fetch.yellowdogsoftware.com/api/v3/
- Production server
https://fetch.yellowdogsoftware.com/api/v3/vendors
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://fetch.yellowdogsoftware.com/api/v3/vendors?Filter=string&OrderBy=string&PageNumber=0&PageSize=0' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string", "description": "string", "url": "string", "collectsTax": true, "notes": "string", "approved": true, "currencyCode": "string", "created": "2019-08-24T14:15:22Z", "lastUpdated": "2019-08-24T14:15:22Z", "orderFrom": { … }, "returnTo": { … }, "stores": [ … ] } ]
- application/json-patch+json
- application/json
- text/json
- application/*+json
Object Used to Create Vendors
Main number associated with the vendor in the Yellow Dog UI; unique per database
- Production server
https://fetch.yellowdogsoftware.com/api/v3/vendors
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://fetch.yellowdogsoftware.com/api/v3/vendors \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"code": "string",
"description": "string",
"url": "string",
"collectsTax": true,
"notes": "string",
"approved": true,
"currencyCode": "string",
"orderFrom": {
"contact": "string",
"phone": "string",
"fax": "string",
"mobile": "string",
"email": "string",
"street": "string",
"city": "string",
"state": "string",
"zip": "string",
"country": "string",
"other": "string"
},
"returnTo": {
"contact": "string",
"phone": "string",
"fax": "string",
"mobile": "string",
"email": "string",
"street": "string",
"city": "string",
"state": "string",
"zip": "string",
"country": "string",
"other": "string"
},
"stores": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"available": true,
"accountingId": "string",
"taxNumber": "string",
"terms": "string",
"reference": "string"
}
]
}
]'
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string", "description": "string", "url": "string", "collectsTax": true, "notes": "string", "approved": true, "currencyCode": "string", "created": "2019-08-24T14:15:22Z", "lastUpdated": "2019-08-24T14:15:22Z", "orderFrom": { … }, "returnTo": { … }, "stores": [ … ] } ]
- application/json-patch+json
- application/json
- text/json
- application/*+json
Object Used to update an existing Vendors
Yellow Dog's primary key for the Vendor; always unique; formatted as GUID (example: 433ef432-f63e-4c26-a29f-39d4079d9fc9)
Main number associated with the vendor in the Yellow Dog UI; unique per database
- Production server
https://fetch.yellowdogsoftware.com/api/v3/vendors
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://fetch.yellowdogsoftware.com/api/v3/vendors \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"code": "string",
"description": "string",
"url": "string",
"collectsTax": true,
"notes": "string",
"approved": true,
"currencyCode": "string",
"orderFrom": {
"contact": "string",
"phone": "string",
"fax": "string",
"mobile": "string",
"email": "string",
"street": "string",
"city": "string",
"state": "string",
"zip": "string",
"country": "string",
"other": "string"
},
"returnTo": {
"contact": "string",
"phone": "string",
"fax": "string",
"mobile": "string",
"email": "string",
"street": "string",
"city": "string",
"state": "string",
"zip": "string",
"country": "string",
"other": "string"
},
"stores": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"available": true,
"accountingId": "string",
"taxNumber": "string",
"terms": "string",
"reference": "string"
}
]
}
]'
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string", "description": "string", "url": "string", "collectsTax": true, "notes": "string", "approved": true, "currencyCode": "string", "created": "2019-08-24T14:15:22Z", "lastUpdated": "2019-08-24T14:15:22Z", "orderFrom": { … }, "returnTo": { … }, "stores": [ … ] } ]
- application/json-patch+json
- application/json
- text/json
- application/*+json
List of Vendor Ids to be deleted
- Production server
https://fetch.yellowdogsoftware.com/api/v3/vendors
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://fetch.yellowdogsoftware.com/api/v3/vendors \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
]'
Rate limiting quota exceeded
Apply pause on further requests to the api using a wait method for the amount of seconds presented in the Response Header Key 'Retry-After'.
To prevent running into further instances of this rate limiting, use the Response Headers returned back from all other requests to ensure there is enough buffer.
For further information see Rate Limiting Section of Getting Started of api documentation site.
No content
- Production server
https://fetch.yellowdogsoftware.com/api/v3/vendors/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://fetch.yellowdogsoftware.com/api/v3/vendors/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string", "description": "string", "url": "string", "collectsTax": true, "notes": "string", "approved": true, "currencyCode": "string", "created": "2019-08-24T14:15:22Z", "lastUpdated": "2019-08-24T14:15:22Z", "orderFrom": { "contact": "string", "phone": "string", "fax": "string", "mobile": "string", "email": "string", "street": "string", "city": "string", "state": "string", "zip": "string", "country": "string", "other": "string" }, "returnTo": { "contact": "string", "phone": "string", "fax": "string", "mobile": "string", "email": "string", "street": "string", "city": "string", "state": "string", "zip": "string", "country": "string", "other": "string" }, "stores": [ { … } ] }
- Production server
https://fetch.yellowdogsoftware.com/api/v3/vendors/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://fetch.yellowdogsoftware.com/api/v3/vendors/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
Rate limiting quota exceeded
Apply pause on further requests to the api using a wait method for the amount of seconds presented in the Response Header Key 'Retry-After'.
To prevent running into further instances of this rate limiting, use the Response Headers returned back from all other requests to ensure there is enough buffer.
For further information see Rate Limiting Section of Getting Started of api documentation site.
No content