question

ethan-dispatch avatar image
ethan-dispatch asked parquet76 answered

Unique identifier not populating?

Hello, I am building an integration to sync shift data between 2 systems (one being Clover). When I make an API call to create a shift in clover and pass in the other system's shift id into the 'id' body param, the shift creates successfully but an id is automatically generated for it and there is no unique identifier (id) in the newly created shift. Any idea why the id im passing isn't being stored and/or how I can match shifts between two systems? Thanks!

REST API
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
parquet76 avatar image
parquet76 answered

Guessing clover won't allow you to set your own id which means you will have to create a field to hold "external" IDs so you can map clover shifts to your "shift".

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community