Creating a Sale via Retail API - Invalid foreign keys for Item

bernbern Member Posts: 1
edited December 2019 in Development

I'm attempting to create a Sale via retail API with a POST request, Invalid foreign keys for Item: 210000010698'

keeps getting returned.

Below is the error returned from lightspeed api,

Below is the request body appended to the POST request

Above is the actual code executing the request

Below is the parameters passed to the "createSale" function which invocke the lightspeed POST request


Any help is greatly appreciated, Thank you

Post edited by bern on

3 comments

Sign In or Register to comment.