Variant with non existing product

JoostJoost Member Posts: 5

When requesting all variants, there's one variant (id 212468306 ) where the product is unknown.

https://api.webshopapp.com/nl/variants/212468306.json shows the expected response of a normal variant

but when reqestion the product link within the same response :

https://api.webshopapp.com/nl/products/104822704.json it returns a 404 error "No product with that ID found."

Normaly a variant without a product wouldn't be possible??

1 comment

  • LucienVersendaalLucienVersendaal Moderator, Lightspeed Staff Posts: 707 moderator

    Hi @Joost,

    Thank you for reaching out to us.

    When products / variants are removed though the back office, it seems that it was removed in the back office, but the relationship still exists underwater. This actually happens very rarely, this is because a worker did not work. What I recommend doing is to remove this variant via the API.

    Please keep an eye on this, in case this happens again.

Sign In or Register to comment.