Sync

Initiate new sync

Changed on

Run a Commerce sync from the last successful sync up to the date provided (optional), otherwise UtcNow is used.\r\nIf there was no previously successful sync, the start date in the config is used.

post/companies/{companyId}/sync/commerce/latest

Request

  • Base URL
    https://api.codat.io
  • URL
    https://api.codat.io/companies/{companyId}/sync/commerce/latest
  • Auth
    API key in header Authorization

Path parameters

companyIdstring uuid required

Unique identifier for your SMB in Codat.

Example:8a210b68-6988-11ed-a1eb-0242ac120002

Unique identifier for a company.

Request body

syncToCreated (unresolved $ref)

Response

Success

companyIdstring guid

Unique identifier for your SMB in Codat.

commerceSyncIdstring guid

Unique identifier for the sync in Codat.

syncStatusCodeinteger

Numerical status code sync of the company data.

syncStatusstring nullable

Status of the sync of the company data. This is linked to status code.

errorMessagestring nullable

Friendly error message for the sync operation.

syncExceptionMessagestring nullable

Exception message for the sync operation.

syncUtcCreated (unresolved $ref)
dataPushedboolean

Boolean indicator for data being pushed during a sync operation.

Changes

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became nullable for the status