annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

gestion stock via l'API rest

Highlighted
Touriste
5 0 1

bonjour

 

ci dessous un fichier JSON pour créer un produit avec variant.

le produit et les variants sont bien crees mais inventory_management est à null.

 

{"product":{"title":"0011202000103500","body_html":"3500 STRELLSON BELT 3,5 CM/NOS","vendor":"Strellson","type":"","variants":[{"option1":"BLACK/10","option2":"080","price":"49,95","compare_at_price":"49,95","sku":"0011202000103500_A01_080","barcode":"9009479013741","inventory_magement":"shopify"},{"option1":"BLACK/10","option2":"085","price":"49,95","compare_at_price":"49,95","sku":"0011202000103500_A01_085","barcode":"9009479013758","inventory_magement":"shopify"},{"option1":"BLACK/10","option2":"090","price":"49,95","compare_at_price":"49,95","sku":"0011202000103500_A01_090","barcode":"9009479013765","inventory_magement":"shopify"},{"option1":"BLACK/10","option2":"095","price":"49,95","compare_at_price":"49,95","sku":"0011202000103500_A01_095","barcode":"9009479013772","inventory_magement":"shopify"},{"option1":"BLACK/10","option2":"100","price":"49,95","compare_at_price":"49,95","sku":"0011202000103500_A01_100","barcode":"9009479013789","inventory_magement":"shopify"},{"option1":"BLACK/10","option2":"105","price":"49,95","compare_at_price":"49,95","sku":"0011202000103500_A01_105","barcode":"9009479013796","inventory_magement":"shopify"},{"option1":"BLACK/10","option2":"110","price":"49,95","compare_at_price":"49,95","sku":"0011202000103500_A01_110","barcode":"9009479013802","inventory_magement":"shopify"},{"option1":"BLACK/10","option2":"115","price":"49,95","compare_at_price":"49,95","sku":"0011202000103500_A01_115","barcode":"9009479013819","inventory_magement":"shopify"}],"options":[{"name":"Couleur","values":["BLACK/10"]},{"name":"Taille","values":["080","085","090","095","100","105","110","115"]}]}}

 

 

 

0 J'aime