Developers
qashio.com

Acknowledge transactions

POST/public/v1/erp/transactions/acknowledge
Bearer token

Marks transactions as pulled by setting their client_sync_status to synced. If any id is wrong, nothing is updated and the response is 404.

ValueMeaning
not_syncedNot acknowledged yet. Every new transaction starts here.
syncedAcknowledged with this endpoint. Your copy is current.
outdatedAcknowledged, then changed. Pull it and acknowledge it again.

Header parameters

company_idstringrequired

ERP company UUID the transaction ids belong to.

Example 68c9f979-0360-4e4e-a5c5-327c8119ecb3

Request body

application/jsonrequired

FieldTypeDescription
transaction_ids*string<uuid>[]ERP transaction UUIDs, taken from the id field of a transaction, not qashio_id. Between 1 and 200 ids; duplicates are removed before the update.

Response

FieldTypeDescription
status_codeinteger
successboolean
dataobject
messagestring
transaction_idsstring<uuid>[]The de-duplicated list of ids that were marked as acknowledged.
metaobject
request_idstring
timestampstring

Errors

  • 400Bad Request - transaction_ids is empty, too long, or holds a value that is not a UUID
  • 401Unauthorized - missing or invalid Bearer token
  • 404Not Found - at least one id does not belong to this company, so nothing was updated
  • 429Too Many Requests - the endpoint accepts 2 requests per second

Every error carries an errors[] array and a meta.request_id. See Errors for the full envelope.

This request takes no parameters.

Response

Send the request to see the response.

Esc

Start here

IntroductionIntegration walkthroughAuthenticationConventions

Popular endpoints

POSTExchange code for tokens/oauth2/tokenGETGet company summary/public/v1/erp/company/summaryGETList bank accounts/public/v1/erp/bank_accountsGETList cards/public/v1/erp/cardsGETList chart of accounts/public/v1/erp/chart_of_accounts