Need Help with API + PHP

Basically i am trying to create a php script that looks up the item code entered by the user and checks if the code is valid for a specific item ID example :
xxxxx-xxxxx
is valid for item id : 1111
and if it’s true it is saved in a boolean or so.

I looked into the API but couldn;t make much.
Please help :smile:

Just had the same question