Fetch API (v3.0: 3.25.0.4)
For differences between versions, see Changelog.
https://fetch.yellowdogsoftware.com/api/v3/
- application/json-patch+json
- application/json
- text/json
- application/*+json
Any alterations to the accepting Transfer
- Production server
https://fetch.yellowdogsoftware.com/api/v3/transfers/{id}/Accept
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://fetch.yellowdogsoftware.com/api/v3/transfers/{id}/Accept' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"lines": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"quantity": 0.1,
"notes": "string"
}
],
"doCommit": true,
"commit": true,
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"thirdPartyID": "string",
"docNumber": "string",
"reference": "string",
"description": "string",
"instructions": "string",
"totalAmount": 0.1,
"created": "2019-08-24T14:15:22Z",
"lastUpdated": "2019-08-24T14:15:22Z",
"vendor": "string",
"createdByUser": "string",
"notes": "string",
"store": "string"
}'
User does not have sufficient access for this endpoint: Access required Purchasing > Transfers > TransferEditor > Accept.
No content
- Production server
https://fetch.yellowdogsoftware.com/api/v3/transfers/{id}/Issue
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://fetch.yellowdogsoftware.com/api/v3/transfers/{id}/Issue' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
User does not have sufficient access for this endpoint: Access required Purchasing > Transfers > TransferEditor > Issue.
No content
Request
Example use cases
api/v2/transfers?pageNumber=1&pageSize=100&Filter=committed>2024-03-05T06:06:58.529Z&Filter=lastUpdated>2024-03-06&orderBy=committed
will get the first page of transfers where the committed date is later than 2024-03-05T06:06:58.529Z AND the lastUpdated date is later than 2024-03-06T00:00:00Z, ordering by the committed date
/api/v2/transfers?pageNumber=1&pageSize=100&Filter=committed>2024-03-05T06:06:58.529Z&orderBy=committed
will get the first page of transfers where the committed date is later than 2024-03-05T06:06:58.529Z
ordering by the committed date.
Filter Options:
- DocNumber (string: allows for pulling based on a particular document number)
- Committed (Issued DateTime in v2, DateTimeOffset in v3: See Differences between v2 and v3 in Getting Started Section for more information)
- Committed2 (Accepted DateTime in v2, DateTimeOffset in v3: See Differences between v2 and v3 in Getting Started Section for more information)
- LastUpdated(DateTime in v2, DateTimeOffset in v3: See Differences between v2 and v3 in Getting Started Section for more information)
- Store (GUID: allows for filtering down to only a particular issuingStoreId. This id can be found from the GET /stores endpoint)
- Store2 (GUID: allows for filtering down to only a particular acceptedStoreId. This id can be found from the GET /stores endpoint)
Page Number for the result set.
This is expected to be an integer value greater than 0. Defaults to 1 when not passed in.
For more information see the Getting Started Section for Pagination.
- Production server
https://fetch.yellowdogsoftware.com/api/v3/transfers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://fetch.yellowdogsoftware.com/api/v3/transfers?Filter=string&Expand=string&OrderBy=string&PageNumber=0&PageSize=0' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
OK
Yellow Dog's unique ID of the Commdoc; formatted as GUID (example: 433ef432-f63e-4c26-a29f-39d4079d9fc9)
Reference is used to store a secondary code for the Transfer such the supplier's document number.
DateTime when the Transfer was issued in Yellow Dog, in ISO 8601 format.
DateTime when the Transfer was accepted in Yellow Dog, in ISO 8601 format.
DateTime when the arrival of the transfer is expected, in ISO 8601 format
DateTime when the Transfer was last updated in Yellow Dog, in ISO 8601 format
Unique ID of the Yellow Dog Store; formatted as GUID (example: 433ef432-f63e-4c26-a29f-39d4079d9fc9) The store that issued the Transfer.
Unique ID of the Yellow Dog Store; formatted as GUID (example: 433ef432-f63e-4c26-a29f-39d4079d9fc9) The store that accepted the Transfer.
Total Amount Issued TotalAmountShortage can be calculated by subtracting TotalAmountAccepted from TotalAmountIssued.
Total Amount Accepted TotalAmountShortage can be calculated by subtracting TotalAmountAccepted from TotalAmountIssued.
List of Commdoc Lines which belongs to the Transfer.
DateTime when the Transfer is needed by, in ISO 8601 format
Unique ID of the Yellow Dog Store; formatted as GUID (example: 433ef432-f63e-4c26-a29f-39d4079d9fc9)
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "thirdPartyID": "string", "docNumber": "string", "reference": "string", "description": "string", "instructions": "string", "commit": true, "committed": "2019-08-24T14:15:22Z", "committed2": "2019-08-24T14:15:22Z", "notes": "string", "needBy": "2019-08-24T14:15:22Z", "due": "2019-08-24T14:15:22Z", "expectedArrival": "2019-08-24T14:15:22Z", "created": "2019-08-24T14:15:22Z", "lastUpdated": "2019-08-24T14:15:22Z", "vendor": "string", "store": "string", "store2": "string", "createdByUser": "string", "committedByUser": "string", "committed2ByUser": "string", "totalAmountIssued": 0.1, "totalAmountAccepted": 0.1, "status": "string", "lines": [ … ] } ]
- application/json-patch+json
- application/json
- text/json
- application/*+json
Object Representing a Transfer to be created
- Production server
https://fetch.yellowdogsoftware.com/api/v3/transfers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://fetch.yellowdogsoftware.com/api/v3/transfers \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"lines": [
{
"itemID": "f1f85a48-b9b1-447d-a06c-c1acf57ed3a8",
"quantity": 0.1
}
],
"commit": true,
"thirdPartyID": "string",
"reference": "string",
"description": "string",
"instructions": "string",
"totalAmount": 0.1,
"notes": "string",
"fromStore": "922ea2e6-43bc-423b-beb5-f95edf9c79d5",
"toStore": "a56faa3b-2099-4b8f-93cc-055c6ad82860",
"due": "2019-08-24T14:15:22Z"
}'
OK
- text/plain
- application/json
- text/json
Yellow Dog's unique ID of the Commdoc; formatted as GUID (example: 433ef432-f63e-4c26-a29f-39d4079d9fc9)
Reference is used to store a secondary code for the Transfer such the supplier's document number.
DateTime when the Transfer was issued in Yellow Dog, in ISO 8601 format.
DateTime when the Transfer was accepted in Yellow Dog, in ISO 8601 format.
DateTime when the arrival of the transfer is expected, in ISO 8601 format
DateTime when the Transfer was last updated in Yellow Dog, in ISO 8601 format
Unique ID of the Yellow Dog Store; formatted as GUID (example: 433ef432-f63e-4c26-a29f-39d4079d9fc9) The store that issued the Transfer.
Unique ID of the Yellow Dog Store; formatted as GUID (example: 433ef432-f63e-4c26-a29f-39d4079d9fc9) The store that accepted the Transfer.
Total Amount Issued TotalAmountShortage can be calculated by subtracting TotalAmountAccepted from TotalAmountIssued.
Total Amount Accepted TotalAmountShortage can be calculated by subtracting TotalAmountAccepted from TotalAmountIssued.
List of Commdoc Lines which belongs to the Transfer.
DateTime when the Transfer is needed by, in ISO 8601 format
No response example
- application/json-patch+json
- application/json
- text/json
- application/*+json
new lines to be added to Transfer
- Production server
https://fetch.yellowdogsoftware.com/api/v3/transfers/{id}/lines
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://fetch.yellowdogsoftware.com/api/v3/transfers/{id}/lines' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"itemID": "f1f85a48-b9b1-447d-a06c-c1acf57ed3a8",
"quantity": 0.1
}
]'
No response example
- application/json-patch+json
- application/json
- text/json
- application/*+json
Any alterations to a Transfer
- Production server
https://fetch.yellowdogsoftware.com/api/v3/transfers/{id}/lines
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://fetch.yellowdogsoftware.com/api/v3/transfers/{id}/lines' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"quantity": 0.1,
"notes": "string"
}
]'
No response example
- application/json-patch+json
- application/json
- text/json
- application/*+json
unique identifiers of lines to be deleted
- Production server
https://fetch.yellowdogsoftware.com/api/v3/transfers/{id}/lines
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://fetch.yellowdogsoftware.com/api/v3/transfers/{id}/lines' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
]'
No response example
Page Number for the result set.
This is expected to be an integer value greater than 0. Defaults to 1 when not passed in.
For more information see the Getting Started Section for Pagination.
Page Size
- Default page size: 100
- Max page size: 500
This is expected to be an integer value greater than 0. Defaults to 100 when not passed in.
For more information see the Getting Started Section for Pagination.
- Production server
https://fetch.yellowdogsoftware.com/api/v3/transfers/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://fetch.yellowdogsoftware.com/api/v3/transfers/{id}?Expand=string&PageNumber=0&PageSize=0&Filter=string&OrderBy=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
OK
Yellow Dog's unique ID of the Commdoc; formatted as GUID (example: 433ef432-f63e-4c26-a29f-39d4079d9fc9)
Reference is used to store a secondary code for the Transfer such the supplier's document number.
DateTime when the Transfer was issued in Yellow Dog, in ISO 8601 format.
DateTime when the Transfer was accepted in Yellow Dog, in ISO 8601 format.
DateTime when the arrival of the transfer is expected, in ISO 8601 format
DateTime when the Transfer was last updated in Yellow Dog, in ISO 8601 format
Unique ID of the Yellow Dog Store; formatted as GUID (example: 433ef432-f63e-4c26-a29f-39d4079d9fc9) The store that issued the Transfer.
Unique ID of the Yellow Dog Store; formatted as GUID (example: 433ef432-f63e-4c26-a29f-39d4079d9fc9) The store that accepted the Transfer.
Total Amount Issued TotalAmountShortage can be calculated by subtracting TotalAmountAccepted from TotalAmountIssued.
Total Amount Accepted TotalAmountShortage can be calculated by subtracting TotalAmountAccepted from TotalAmountIssued.
List of Commdoc Lines which belongs to the Transfer.
DateTime when the Transfer is needed by, in ISO 8601 format
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "thirdPartyID": "string", "docNumber": "string", "reference": "string", "description": "string", "instructions": "string", "commit": true, "committed": "2019-08-24T14:15:22Z", "committed2": "2019-08-24T14:15:22Z", "notes": "string", "needBy": "2019-08-24T14:15:22Z", "due": "2019-08-24T14:15:22Z", "expectedArrival": "2019-08-24T14:15:22Z", "created": "2019-08-24T14:15:22Z", "lastUpdated": "2019-08-24T14:15:22Z", "vendor": "string", "store": "string", "store2": "string", "createdByUser": "string", "committedByUser": "string", "committed2ByUser": "string", "totalAmountIssued": 0.1, "totalAmountAccepted": 0.1, "status": "string", "lines": [ { … } ] }
- application/json-patch+json
- application/json
- text/json
- application/*+json
Updated data regarding Transfer
- Production server
https://fetch.yellowdogsoftware.com/api/v3/transfers/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://fetch.yellowdogsoftware.com/api/v3/transfers/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '{
"commit": true,
"reference": "string",
"description": "string",
"instructions": "string",
"notes": "string",
"due": "2019-08-24T14:15:22Z"
}'
OK
- text/plain
- application/json
- text/json
Yellow Dog's unique ID of the Commdoc; formatted as GUID (example: 433ef432-f63e-4c26-a29f-39d4079d9fc9)
Reference is used to store a secondary code for the Transfer such the supplier's document number.
DateTime when the Transfer was issued in Yellow Dog, in ISO 8601 format.
DateTime when the Transfer was accepted in Yellow Dog, in ISO 8601 format.
DateTime when the arrival of the transfer is expected, in ISO 8601 format
DateTime when the Transfer was last updated in Yellow Dog, in ISO 8601 format
Unique ID of the Yellow Dog Store; formatted as GUID (example: 433ef432-f63e-4c26-a29f-39d4079d9fc9) The store that issued the Transfer.
Unique ID of the Yellow Dog Store; formatted as GUID (example: 433ef432-f63e-4c26-a29f-39d4079d9fc9) The store that accepted the Transfer.
Total Amount Issued TotalAmountShortage can be calculated by subtracting TotalAmountAccepted from TotalAmountIssued.
Total Amount Accepted TotalAmountShortage can be calculated by subtracting TotalAmountAccepted from TotalAmountIssued.
List of Commdoc Lines which belongs to the Transfer.
DateTime when the Transfer is needed by, in ISO 8601 format
No response example