Offline Supplier Products Creation

mail@pastecode.io avatar
unknown
plain_text
7 months ago
1.7 kB
3
Indexable
Never
{
    "title": "thumbs up",
    "description": "apple",
    "product_code": "test",
    "ware_house_id": "bs_01HB8969R6873YST45Y6NMYJM6",
    "options": [
        {
            "title": "mqo"
        }
    ],
    "variants": [
        {
            "title": "thumbs up",
            "inventory_quantity": 10000,
            "prices": [
                {
                    "amount": 75,
                    "currency_code": "aed"
                }
            ],
            "metadata": {
                "order_unit": "carton",
                "selected_unit": "carton",
                "selected_quantity": 5,
                "offer": 5
            },
            "options": [
                {
                    "value": "1"
                }
            ]
        }
    ],
    "brand": {
        "id": "brand_3"
    },
    "supplier": {
        "id": "cus_01HB8969QV9Q2A1MPG7SN9DYFB"
    },
    "metadata": {
        "certifications": [
            "c1",
            "c2"
        ],
        "product_details": [
            "Halal,Vegan",
            "Organic"
        ]
    },
    "countries": {
        "id": 234,
        "iso_2": "ae",
        "iso_3": "are",
        "num_code": 784,
        "name": "UNITED ARAB EMIRATES",
        "display_name": "United Arab Emirates",
        "region_id": "reg_01H641GHBYDJTZTW9EQEMZANG9",
        "flag": null
    },
    "images": [
        {
            "url": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-black-front.png",
            "metadata": null
        },
        {
            "url": "https://medusa-public-images.s3.eu-west-1.amazonaws.com/tee-white-back.png",
            "metadata": null
        }
    ]
}