Accounting Export Reports that can be consumed by 3rd Party accounting systems
For differences between versions, see Changelog.
This endpoint allows for bulk upserting of TPItems.
The fields that are required to create a TPLocation are type
and code
include the query parameter, upsert=true
When a validation error occurs, the entire request will fail.
Processing the item changes can take up to 10 minutes to process due to the amount of background processing that needs to be done.
curl -i -X POST \
'https://developer.yellowdogsoftware.com/_mock/fetch/api/api/v3/third-party/{syncId}/items?upsert=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"type": "string",
"code": "string",
"alternateCode": "string",
"description": "string",
"canMapToRecipes": true,
"canMapToTransactions": true,
"parentCode": "string"
}
]'
curl -i -X POST \
'https://developer.yellowdogsoftware.com/_mock/fetch/api/api/v3/third-party/{syncId}/locations?upsert=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"type": "string",
"code": "string",
"description": "string",
"parentCode": "string",
"alternateCode": "string",
"storeId": "string",
"storeCode": "string"
}
]'