If the sandbox environment is:
const sdk = api('@clover-platform/v3#93f22ll93rmuy1')
what does the production environment look like? Is it:
const sdk = api('@clover-platform/v3');
If the sandbox environment is:
const sdk = api('@clover-platform/v3#93f22ll93rmuy1')
what does the production environment look like? Is it:
const sdk = api('@clover-platform/v3');
I am not sure what that means. We have no APIs with v3#93f22ll93rmuy1' in the URL. The relative URI for REST APIs is the same between all environments. The only difference is going to be the API hostname. E.g., sandbox is apisandbox.dev.clover.com, and NA (North America) production is api.clover.com.
Oh I got that from the api specs https://docs.clover.com/reference/ordergetorder
Okay sorry, I don't know anything about NodeJS. I'm told this may work, so give it a shot:
sdk.server('https://<host>');
See above for the host value.
5 People are following this question.