Documentation - Version 1.0


Login

POST

Retrieve the API-KEY to add as the Bearer Token to the other requests

This API-KEY has no expiration date

{{Environment}}/api/v1/Login

Request

{
    "Username": "test@test.it",
    "Password": "test",
    "WebhookUrl": "https://www.urlforupdate.com/"
}

Data

Name Type Description
Username String The email associated to the account
Password String The password associated to the account
WebhookUrl String When the quantity is changed due to an order or a return, we will invoke the following url with IdProduct, IdVariant and the quantity delta.
This url will be overwritten every login.

Response

{
    "Keys": [
        "rAa7WzFOVQk2JouSl0E45e13V509",
        "rAa7WzFOVQk2JouSl0E45e13V509"
    ]
}

WebHook Request

POST

Webhook request will be made to your webhook url every time a purchase or return is made to change the quantity of products

Request

{
    "Products": [
        {
            "IdProduct": 123,
            "Variants": [
                {
                    "IdVariant": 123,
                    "UniqueIdShopify": null,
                    "Quantity": -5
                },
                {
                    "IdVariant": 124,
                    "UniqueIdShopify": null,
                    "Quantity": 5
                },
            ]
        }
    ]
}

Data

Name Type Description
IdProduct Int Identify the product to update
Variants => IdVariant Int Identify the product's variant to update
Variants => UniqueIdShopify String Unique id shopify
Variants => Quantity Int Delta quantity for update, contains the minus sign if is an order

Get All Products

GET

Bearer Token - Authorization
Get all store's products.
The possible cases for each product are the following according to the version:

  • Only the draft version exists: the draft version will be returned
  • Only the published version exists: the published version will be returned
  • Both the published version and the draft version exist: the published version will be returned
{{Environment}}/api/v1/Products

Request

{
    "UpToDate": "1"
}

Data

Name Type Description
UpToDate Int (1/0) If the product has both a draft version and a published version, the draft version will be returned

Response

{
    "Products": [
        {
            "IdProduct": "1",
            "Barcode": "RB3647N",
            "BrandName": "Nike",
            "IdCategory": "IdCategory",
            "Weight": "100.00",
            "GrossWeight": "100.00",
            "Width": "100.00",
            "Height": "100.00",
            "Depth": "100.00",
            "PickAtStore": "1",
            "EnableShipping": "1",
            "ReturnAlwaysFree": "1",
            "MadeInItaly": "1",
            "ShopCourier": "1",
            "FlagEcommerce": "1",
            "Creator": "SHOPIFY",
            "Languages": [
                {
                    "Language": "IT",
                    "ProductName": "Nike Air Force 1",
                    "Details": null,
                    "Description": null,
                    "Other": null,
                    "ProductUrl": "nike-air-force-1"
                }
            ],
            "Variants": [
                {
                    "IdVariant": "1",
                    "PriceLST": "89.90",
                    "PriceB2C": "99.90",
                    "PricePROMO": null,
                    "PriceOVER": null,
                    "QuantityAvailable": "20",
                    "DefaultVariant": "1",
                    "UniqueIdShopify": "SHOPIFY-VARIANT-1",
                    "Languages": [
                        {
                            "Language": "IT",
                            "Size": "M",
                            "Color": "White",
                            "Material": "Leather",
                            "NA": "N.A.",
                            "Custom1": "Custom 1 Name|Custom 1 Value",
                            "Custom2": "Custom 2 Name|Custom 2 Value",
                            "Custom3": "Custom 3 Name|Custom 3 Value"
                        }
                    ],
                    "Images": [
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/D7EC80C9EB1C51374226CBA28251B02B",
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/FF94DFCAE61AA74750F582C06476FB25"
                    ]
                }
            ]
        }
    ]
}

Get All Products Published

GET

Bearer Token - Authorization
Get published store's products

{{Environment}}/api/v1/Products/Published

Response

{
    "Products": [
        {
            "IdProduct": "1",
            "Barcode": "RB3647N",
            "BrandName": "Nike",
            "IdCategory": "IdCategory",
            "Weight": "100.00",
            "GrossWeight": "100.00",
            "Width": "100.00",
            "Height": "100.00",
            "Depth": "100.00",
            "PickAtStore": "1",
            "EnableShipping": "1",
            "ReturnAlwaysFree": "1",
            "MadeInItaly": "1",
            "ShopCourier": "1",
            "FlagEcommerce": "1",
            "Creator": "SHOPIFY",
            "Languages": [
                {
                    "Language": "IT",
                    "ProductName": "Nike Air Force 1",
                    "Details": null,
                    "Description": null,
                    "Other": null,
                    "ProductUrl": "nike-air-force-1"
                }
            ],
            "Variants": [
                {
                    "IdVariant": "1",
                    "PriceLST": "89.90",
                    "PriceB2C": "99.90",
                    "PricePROMO": null,
                    "PriceOVER": null,
                    "QuantityAvailable": "20",
                    "DefaultVariant": "1",
                    "UniqueIdShopify": "SHOPIFY-VARIANT-1",
                    "Languages": [
                        {
                            "Language": "IT",
                            "Size": "M",
                            "Color": "White",
                            "Material": "Leather",
                            "NA": "N.A.",
                            "Custom1": "Custom 1 Name|Custom 1 Value",
                            "Custom2": "Custom 2 Name|Custom 2 Value",
                            "Custom3": "Custom 3 Name|Custom 3 Value"
                        }
                    ],
                    "Images": [
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/D7EC80C9EB1C51374226CBA28251B02B",
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/FF94DFCAE61AA74750F582C06476FB25"
                    ]
                }
            ]
        }
    ]
}

Get All Products Slim

GET

Bearer Token - Authorization
Get all available store's products (only quantity and prices)

{{Environment}}/api/v1/Products/GetProductsSlim

Alternative Request

{
    "IdProduct": ["1", "2"]
}

Response

{
    "Products": [
        {
            "IdProduct": "1",
            "Variants": [
                {
                    "IdVariant": "1",
                    "UniqueIdShopify": null,
                    "PriceLST": "89.90",
                    "PriceB2C": "99.90",
                    "PricePROMO": null,
                    "PriceOVER": null,
                    "QuantityAvailable": "20"
                }
            ]
        }
    ]
}

Get Product

GET

Bearer Token - Authorization
Get store's product.
The possible cases for each product are the following according to the version:

  • Only the draft version exists: the draft version will be returned
  • Only the published version exists: the published version will be returned
  • Both the published version and the draft version exist: the published version will be returned
{{Environment}}/api/v1/Products/Get

Request

{
    "IdProduct": "1",
    "UpToDate": "1"
}

Alternative Request

{
    "IdProduct": ["1", "2"],
    "UpToDate": "1"
}

Data

Name Type Description
IdProduct Int or Array The number or the array of numbers that correspond to a specific product
UpToDate Int (1/0) If the product has both a draft version and a published version, the draft version will be returned

Response

{
    "Products": [
        {
            "IdProduct": "1",
            "Barcode": "RB3647N",
            "BrandName": "Nike",
            "IdCategory": "IdCategory",
            "UnitOfMeasure": "PZ",
            "Volume": "1",
            "Weight": "100.00",
            "GrossWeight": "100.00",
            "Width": "100.00",
            "Height": "100.00",
            "Depth": "100.00",
            "PickAtStore": "1",
            "EnableShipping": "1",
            "ReturnAlwaysFree": "1",
            "MadeInItaly": "1",
            "ShopCourier": "1",
            "FlagEcommerce": "1",
            "Creator": "SHOPIFY",
            "Languages": [
                {
                    "Language": "IT",
                    "ProductName": "Nike Air Force 1",
                    "Details": null,
                    "Description": null,
                    "Other": null,
                    "ProductUrl": "nike-air-force-1"
                }
            ],
            "Variants": [
                {
                    "IdVariant": "1",
                    "PriceLST": "89.90",
                    "PriceB2C": "99.90",
                    "PricePROMO": null,
                    "PriceOVER": null,
                    "QuantityAvailable": "20",
                    "DefaultVariant": "1",
                    "UniqueIdShopify": "SHOPIFY-VARIANT-1",
                    "Languages": [
                        {
                            "Language": "IT",
                            "Size": "M",
                            "Color": "White",
                            "Material": "Leather",
                            "NA": "N.A.",
                            "Custom1": "Custom 1 Name|Custom 1 Value",
                            "Custom2": "Custom 2 Name|Custom 2 Value",
                            "Custom3": "Custom 3 Name|Custom 3 Value"
                        }
                    ],
                    "Images": [
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/D7EC80C9EB1C51374226CBA28251B02B",
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/FF94DFCAE61AA74750F582C06476FB25"
                    ]
                }
            ]
        }
    ]
}

Get Product Published

GET

Bearer Token - Authorization
Get store's published product

{{Environment}}/api/v1/Products/Get/Published

Request

{
    "IdProduct": "1"
}

Alternative Request

{
    "IdProduct": ["1", "2"]
}

Data

Name Type Description
IdProduct Int or Array The number or the array of numbers that correspond to a specific product

Response

{
    "Products": [
        {
            "IdProduct": "1",
            "Barcode": "RB3647N",
            "BrandName": "Nike",
            "IdCategory": "IdCategory",
            "UnitOfMeasure": "PZ",
            "Volume": "1",
            "Weight": "100.00",
            "GrossWeight": "100.00",
            "Width": "100.00",
            "Height": "100.00",
            "Depth": "100.00",
            "PickAtStore": "1",
            "EnableShipping": "1",
            "ReturnAlwaysFree": "1",
            "MadeInItaly": "1",
            "ShopCourier": "1",
            "FlagEcommerce": "1",
            "Creator": "SHOPIFY",
            "Languages": [
                {
                    "Language": "IT",
                    "ProductName": "Nike Air Force 1",
                    "Details": null,
                    "Description": null,
                    "Other": null,
                    "ProductUrl": "nike-air-force-1"
                }
            ],
            "Variants": [
                {
                    "IdVariant": "1",
                    "PriceLST": "89.90",
                    "PriceB2C": "99.90",
                    "PricePROMO": null,
                    "PriceOVER": null,
                    "QuantityAvailable": "20",
                    "DefaultVariant": "1",
                    "UniqueIdShopify": "SHOPIFY-VARIANT-1",
                    "Languages": [
                        {
                            "Language": "IT",
                            "Size": "M",
                            "Color": "White",
                            "Material": "Leather",
                            "NA": "N.A.",
                            "Custom1": "Custom 1 Name|Custom 1 Value",
                            "Custom2": "Custom 2 Name|Custom 2 Value",
                            "Custom3": "Custom 3 Name|Custom 3 Value"
                        }
                    ],
                    "Images": [
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/D7EC80C9EB1C51374226CBA28251B02B",
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/FF94DFCAE61AA74750F582C06476FB25"
                    ]
                }
            ]
        }
    ]
}

Insert Products

POST

Bearer Token - Authorization
Insert products (optimized for massive insert)

{{Environment}}/api/v1/Products

Request

{
    "FullResponse": true,
    "Products": [
        {
            "BrandName": "Nike",
            "Weight": "100.00",
            "GrossWeight": "100.00",
            "Width": "100.00",
            "Height": "100.00",
            "Depth": "100.00",
            "PickAtStore": "1",
            "EnableShipping": "1",
            "ReturnAlwaysFree": "1",
            "MadeInItaly": "1",
            "ShopCourier": "1",
            "FlagEcommerce": "1",
            "Languages": [
                {
                    "Language": "IT",
                    "ProductName": "Nike Air Force 1",
                    "Details": null,
                    "Description": null,
                    "Other": null
                }
            ],
            "Variants": [
                {
                    "PriceLST": "89.90",
                    "QuantityAvailable": "20",
                    "DefaultVariant": "1",
                    "Languages": [
                        {
                            "Language": "IT",
                            "Size": "M",
                            "Color": "White",
                            "Material": "Leather",
                            "NA": "N.A.",
                            "Custom1": "Custom 1 Name|Custom 1 Value",
                            "Custom2": "Custom 2 Name|Custom 2 Value",
                            "Custom3": "Custom 3 Name|Custom 3 Value"
                        }
                    ],
                    "PriceB2C": "99.90",
                    "PricePROMO": null,
                    "PriceOVER": null,
                    "UniqueIdShopify": "SHOPIFY-VARIANT-1",
                    "Images": [
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/D7EC80C9EB1C51374226CBA28251B02B",
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/FF94DFCAE61AA74750F582C06476FB25"
                    ]
                }
            ],
            "Barcode": "RB3647N",
            "IdCategory": "IdCategory",
            "Tags": [
                "Tag1",
                "Tag2"
            ]
        }
    ]
}

Data

Name Type Description
FullResponse Bool Get complete response as you can see in the Complete Response paragraph
BrandName String Product's brand's name
Weight String Product's weight in GR
GrossWeight String Product's Gross Weight in GR
Width String Product's width in CM
Height String Product's Height in CM
Depth String Product's depth in CM
PickAtStore Int Product can be picked up in store
EnableShipping Int Shippings are available
ReturnAlwaysFree Int Product's returns are free
MadeInItaly Int Product is made in Italy
ShopCourier Int Use your couriers and not WorthStock ones
Languages => Language String Language abbreviation for translation
Languages => ProductName String Product's name
Languages => Details String Text under 'Detail' description tab in the product detail page
Languages => Description String Text under 'Description' description tab in the product detail page
Languages => Other String Text under 'Other' description tab in the product detail page
Variants => PriceLST Float List Price
Variants => QuantityAvailable Int Quantity available
Variants => DefaultVariant Float Default variant
Variants => Languages => Language String Language abbreviation for translation
Variants => Languages => Size String Product variant size
Variants => Languages => Color String Product variant color
Variants => Languages => Material String Product variant material
Variants => Languages => NA String Product variant without attributes
Variants => Languages => Custom1 String Product variant custom (contains custom name and value separated by "|")
Variants => Languages => Custom2 String Product variant custom (contains custom name and value separated by "|")
Variants => Languages => Custom3 String Product variant custom (contains custom name and value separated by "|")
Variants => PriceB2C Float Price business to consumer
Variants => PricePROMO Float Price promo
Variants => PriceOVER Float Price over collective
Variants => UniqueIdShopify String Unique id shopify
Variants => Images Array Variant images
Barcode String Barcode
IdCategory Int Id of the category which is assigned to product
FlagEcommerce Int The product is visible or not on the e-commerce
Tags Array Product's tags

Complete Response

{
    "Products": [
        {
            "IdProduct": "1",
            "Barcode": "RB3647N",
            "BrandName": "Nike",
            "IdCategory": "IdCategory",
            "Weight": "100.00",
            "GrossWeight": "100.00",
            "Width": "100.00",
            "Height": "100.00",
            "Depth": "100.00",
            "PickAtStore": "1",
            "EnableShipping": "1",
            "ReturnAlwaysFree": "1",
            "MadeInItaly": "1",
            "ShopCourier": "1",
            "FlagEcommerce": "1",
            "Creator": "SHOPIFY",
            "Languages": [
                {
                    "Language": "IT",
                    "ProductName": "Nike Air Force 1",
                    "Details": null,
                    "Description": null,
                    "Other": null,
                    "ProductUrl": "nike-air-force-1"
                }
            ],
            "Variants": [
                {
                    "IdVariant": "1",
                    "PriceLST": "89.90",
                    "PriceB2C": "99.90",
                    "PricePROMO": null,
                    "PriceOVER": null,
                    "QuantityAvailable": "20",
                    "DefaultVariant": "1",
                    "UniqueIdShopify": "SHOPIFY-VARIANT-1",
                    "Languages": [
                        {
                            "Language": "IT",
                            "Size": "M",
                            "Color": "White",
                            "Material": "Leather",
                            "NA": "N.A.",
                            "Custom1": "Custom 1 Name|Custom 1 Value",
                            "Custom2": "Custom 2 Name|Custom 2 Value",
                            "Custom3": "Custom 3 Name|Custom 3 Value"
                        }
                    ],
                    "Images": [
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/D7EC80C9EB1C51374226CBA28251B02B",
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/FF94DFCAE61AA74750F582C06476FB25"
                    ]
                }
            ]
        }
    ]
}

Short Response

{
    "ProductName": "Nike Air Force 1",
    "IdProduct": "1",
    "Url": "nike-air-force-1"
}

Update Products

PUT

Bearer Token - Authorization
Update products creating a draft version (optimized for massive insert)

ATTENTION

  • If there is a published version, it will only be changed in the prices and quantities of the submitted variants.
    No other fields will be updated
  • If the draft version of the product exists, it will be deleted and replaced by the version sent in the request
  • To create new product variants, send it without the ID
  • If the product variants are not submitted with the id, the current variants will be deleted and recreated with the submitted ones.
    This generates the creation of new IDs for the variants creating a mismatch with those of the published product
{{Environment}}/api/v1/Products

Request

{
    "Products": [
        {
            "IdProduct": "Mandatory",
            "PickAtStore": "1",
            "EnableShipping": "1",
            "ReturnAlwaysFree": "1",
            "MadeInItaly": "1",
            "ShopCourier": "1",
            "Variants": [
                {
                    "IdProductVariant": "1234",
                    "PriceLST": "89.90",
                    "QuantityAvailable": "20",
                    "DefaultVariant": "1",
                    "Languages": [
                        {
                            "Language": "IT",
                            "Size": "M",
                            "Color": "White",
                            "Material": "Leather",
                            "NA": "N.A.",
                            "Custom1": "Custom 1 Name|Custom 1 Value",
                            "Custom2": "Custom 2 Name|Custom 2 Value",
                            "Custom3": "Custom 3 Name|Custom 3 Value"
                        }
                    ],
                    "PriceB2C": "99.90",
                    "PricePROMO": null,
                    "PriceOVER": null,
                    "UniqueIdShopify": "SHOPIFY-VARIANT-1",
                    "Images": [
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/D7EC80C9EB1C51374226CBA28251B02B",
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/FF94DFCAE61AA74750F582C06476FB25"
                    ]
                }
            ],
            "Barcode": "RB3647N",
            "BrandName": "Nike",
            "IdCategory": "IdCategory",
            "Weight": "100.00",
            "GrossWeight": "100.00",
            "Width": "100.00",
            "Height": "100.00",
            "Depth": "100.00",
            "FlagEcommerce": "1",
            "Languages": [
                {
                    "Language": "IT",
                    "ProductName": "Nike Air Force 1",
                    "Details": null,
                    "Description": null,
                    "Other": null
                }
            ]
        }
    ]
}

Data

Name Type Description
IdProduct Int Identify the product to update
PickAtStore Int Product can be picked up in store
EnableShipping Int Shippings are available
ReturnAlwaysFree Int Product's returns are free
MadeInItaly Int Product is made in Italy
ShopCourier Int Use your couriers and not WorthStock ones
Variants => PriceLST Float List Price
Variants => QuantityAvailable Int Quantity available
Variants => DefaultVariant Float Default variant
Variants => Languages => Language String Language abbreviation for translation
Variants => Languages => Size String Product variant size
Variants => Languages => Color String Product variant color
Variants => Languages => Material String Product variant material
Variants => Languages => NA String Product variant without attributes
Variants => Languages => Custom1 String Product variant custom (contains custom name and value separated by "|")
Variants => Languages => Custom2 String Product variant custom (contains custom name and value separated by "|")
Variants => Languages => Custom3 String Product variant custom (contains custom name and value separated by "|")
Variants => IdProductVariant Int Identify the variant to update
Variants => PriceB2C Float Price business to consumer
Variants => PricePROMO Float Price promo
Variants => PriceOVER Float Price over collective
Variants => UniqueIdShopify String Unique id shopify
Variants => Images Array Variant images
Barcode String Barcode
BrandName String Product's brand's name
IdCategory Int Id of the category which is assigned to product
Weight String Product's in GR
GrossWeight String Product's Gross Weight in GR
Width String Product's width in CM
Height String Product's Height in CM
Depth String Product's depth in CM
Languages => Language String Language abbreviation for translation
Languages => ProductName String Product's name
Languages => Details String Text under 'Detail' description tab in the product detail page
Languages => Description String Text under 'Description' description tab in the product detail page
Languages => Other String Text under 'Other' description tab in the product detail page
FlagEcommerce Int The product is visible or not on the e-commerce

Response

{
    "Products": [
        {
            "IdProduct": "1",
            "Barcode": "RB3647N",
            "BrandName": "Nike",
            "IdCategory": "IdCategory",
            "UnitOfMeasure": "PZ",
            "Volume": "1",
            "Weight": "100.00",
            "GrossWeight": "100.00",
            "Width": "100.00",
            "Height": "100.00",
            "Depth": "100.00",
            "PickAtStore": "1",
            "EnableShipping": "1",
            "ReturnAlwaysFree": "1",
            "MadeInItaly": "1",
            "ShopCourier": "1",
            "FlagEcommerce": "1",
            "Creator": "SHOPIFY",
            "Languages": [
                {
                    "Language": "IT",
                    "ProductName": "Nike Air Force 1",
                    "Details": null,
                    "Description": null,
                    "Other": null,
                    "ProductUrl": "nike-air-force-1"
                }
            ],
            "Variants": [
                {
                    "IdVariant": "1",
                    "PriceLST": "89.90",
                    "PriceB2C": "99.90",
                    "PricePROMO": null,
                    "PriceOVER": null,
                    "QuantityAvailable": "20",
                    "DefaultVariant": "1",
                    "UniqueIdShopify": "SHOPIFY-VARIANT-1",
                    "Languages": [
                        {
                            "Language": "IT",
                            "Size": "M",
                            "Color": "White",
                            "Material": "Leather",
                            "NA": "N.A.",
                            "Custom1": "Custom 1 Name|Custom 1 Value",
                            "Custom2": "Custom 2 Name|Custom 2 Value",
                            "Custom3": "Custom 3 Name|Custom 3 Value"
                        }
                    ],
                    "Images": [
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/D7EC80C9EB1C51374226CBA28251B02B",
                        "http://ws04-worthstock-test.valeositi.it/contents/products/images/big/FF94DFCAE61AA74750F582C06476FB25"
                    ]
                }
            ]
        }
    ]
}

Delete Product

DELETE

Bearer Token - Authorization
Delete product

{{Environment}}/api/v1/Products

Request

{
    "IdProduct": "1000"
}

Data

Name Type Description
IdProduct Int Identify the product to delete

Set Variants Prices

PUT

Bearer Token - Authorization
Set the products' variants prices
The prices of the published version of the product will also be updated if it exists

{{Environment}}/api/v1/Variants/Prices

Request

{
    "Products": [
        {
            "IdProduct": "1",
            "Variants": [
                {
                    "IdVariant": "1",
                    "PriceLST": "89.90",
                    "PriceB2C": null,
                    "PricePROMO": null,
                    "PriceOVER": null
                }
            ]
        }
    ]
}

Data

Name Type Description
IdProduct Int Identify the product to update
Variants => IdVariant Int Identify the variant to update
Variants => PriceLST Float List Price
Variants => PriceB2C Float Price business to consumer
Variants => PricePROMO Float Price promo
Variants => PriceOVER Float Price over collective

Response

{
    "Products": [
        {
            "IdProduct": "1",
            "Variants": [
                {
                    "IdVariant": "1",
                    "PriceLST": "89.90",
                    "PriceB2C": "99.90",
                    "PricePROMO": null,
                    "PriceOVER": null
                }
            ]
        }
    ]
}

Set Variants Quantity

PUT

Bearer Token - Authorization
Set the products' variants quantity.
Using this API, the variants' quantities will be immediately changed.
The prices of the published version of the product will also be updated if it exists

{{Environment}}/api/v1/Variants/Quantity

Request

{
    "Products": [
        {
            "IdProduct": "1",
            "Variants": [
                {
                    "IdVariant": "1",
                    "QuantityAvailable": "20"
                }
            ]
        }
    ]
}

Data

Name Type Description
IdProduct Int Identify the product to update
Variants => IdVariant Int Identify the variant to update
Variants => QuantityAvailable Int Variant quantity

Response

{
    "Products": [
        {
            "IdProduct": "1",
            "Variants": [
                {
                    "IdVariant": "1",
                    "QuantityAvailable": "20"
                }
            ]
        }
    ]
}

Get Categories

GET

Bearer Token - Authorization
Get all categories

{{Environment}}/api/v1/Categories

Request

{
    "Language": "IT"
}

Data

Name Type Description
Language String Language abbreviation for translations

Response

{
    "Categories": [
        {
            "IdCategory": "1",
            "Title": "Abbigliamento",
            "LevelNode": "1",
            "Description": "Una sezione dedicata...",
            "SEO_Title": "Abbigliamento",
            "SEO_Description": "Nel Marketplace puoi...",
            "Url": "/it/abbigliamento",
            "UrlRewrite": "abbigliamento",
            "ImageUrlTopBanner": "/contents/categories/top-banner/raw/525CE94218B3D28990BCBF",
            "ImageUrlTopBannerSmall": "/contents/categories/top-banner/small/525CE94218B3D28990BCBF",
            "ImageUrlMenuBanner": "/contents/categories/top-banner/raw/525CE94218B3D28990BCBF",
            "Nodes": [
                {
                    "IdCategory": "1",
                    "Title": "Abbigliamento",
                    "LevelNode": "1",
                    "Description": "Una sezione dedicata...",
                    "SEO_Title": "Abbigliamento",
                    "SEO_Description": "Nel Marketplace puoi...",
                    "Url": "/it/abbigliamento",
                    "UrlRewrite": "abbigliamento",
                    "ImageUrlTopBanner": "/contents/categories/top-banner/raw/525CE94218B3D28990BCBF",
                    "Nodes": [
                        {
                            "IdCategory": "1",
                            "Title": "Abbigliamento",
                            "LevelNode": "1",
                            "SEO_Title": "Abbigliamento",
                            "SEO_Description": "Nel Marketplace puoi...",
                            "Url": "/it/abbigliamento",
                            "UrlRewrite": "abbigliamento",
                            "Description": "Una sezione dedicata...",
                            "ImageUrlTopBanner": "/contents/categories/top-banner/raw/525CE94218B3D28990BCBF",
                            "Nodes": []
                        }
                    ]
                }
            ]
        }
    ]
}