API ISSUE

Cooltype
New Member
1 0 0

Hi everyone!

I tried to connect my shopify store to my ERP system via API but it returns me some errors, so, I am not able to update the warehouse. I allegate to this message also the script in order to help to figure out which is the problem. Has anyone faced the same issue and solved the problem?

Thanks

 

{

        "product": {

            "id": "6614191308933",

            "variants": [

                {

                    "id": "39565412466821",

                    "inventory_quantity": 62,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412499589",

                    "   ": 63,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412532357",

                    "inventory_quantity": 92,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412565125",

                    "inventory_quantity": 55,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412597893",

                    "inventory_quantity": 59,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412630661",

                    "inventory_quantity": 21,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412663429",

                    "inventory_quantity": 54,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412696197",

                    "inventory_quantity": 59,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412728965",

                    "inventory_quantity": 85,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412761733",

                    "inventory_quantity": 56,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412794501",

                    "inventory_quantity": 57,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412827269",

                    "inventory_quantity": 25,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412860037",

                    "inventory_quantity": 19,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412892805",

                    "inventory_quantity": 13,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412925573",

                    "inventory_quantity": 25,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412958341",

                    "inventory_quantity": 15,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565412991109",

                    "inventory_quantity": 20,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565413023877",

                    "inventory_quantity": 5,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565413056645",

                    "inventory_quantity": 21,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565413089413",

                    "inventory_quantity": 20,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565413122181",

                    "inventory_quantity": 27,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565413154949",

                    "inventory_quantity": 24,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565413187717",

                    "inventory_quantity": 23,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565413220485",

                    "inventory_quantity": 5,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565413253253",

                    "inventory_quantity": 22,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565413286021",

                    "inventory_quantity": 21,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565413318789",

                    "inventory_quantity": 28,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565413351557",

                    "inventory_quantity": 22,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565413384325",

                    "inventory_quantity": 23,

                    "inventory_management": "shopify"

                },

                {

                    "id": "39565413417093",

                    "inventory_quantity": 5,

                    "inventory_management": "shopify"

                }

            ]

        }

    }

Replies 0 (0)