Accounting Export Reports that can be consumed by 3rd Party accounting systems
For differences between versions, see Changelog.
Any alterations to the accepting Transfer
curl -i -X PATCH \
'https://developer.yellowdogsoftware.com/_mock/fetch/api/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 response example
curl -i -X PATCH \
'https://developer.yellowdogsoftware.com/_mock/fetch/api/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 response example
Object Representing a Transfer to be created
curl -i -X POST \
https://developer.yellowdogsoftware.com/_mock/fetch/api/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"
}'
new lines to be added to Transfer
curl -i -X POST \
'https://developer.yellowdogsoftware.com/_mock/fetch/api/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
Any alterations to a Transfer
curl -i -X PATCH \
'https://developer.yellowdogsoftware.com/_mock/fetch/api/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
unique identifiers of lines to be deleted
curl -i -X DELETE \
'https://developer.yellowdogsoftware.com/_mock/fetch/api/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
Object Representing a Transfer to be created
curl -i -X POST \
'https://developer.yellowdogsoftware.com/_mock/fetch/api/api/v3/transfers/{id}' \
-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"
}'