Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Inbound | PUT | /master/articles

Summary

This API is used to update standard article SKU master fields.

Description

This API will update standard article SKU masters in Omni. 

Note : Single payload can contain upto 5000 articlesSKU.

This API does not update the SKU Attributes.

This API throws error if SKU masters is not created.

Request

Code Block
languagejson
{
  "articleMasters": [
    {
      "channelSkuCode": "channelSkuCode1",
      "category": "category",
      "brand": "BrandFactory",
      "styleCode": "erp article style",
      "mrp": 1299,
      "hsn": "hsn1234",
      "imageUrl": "HTTP://www.mybrand.com/styl123.jpg",
      "name": "product name",
      "taxRule": "GST_3",
      "size": "xl",
      "color": "blue",
      "grnToleranceDays": 3,
      "returnToleranceDays": 4,
      "skuDimension": {
        "length": 20.2,
        "breadth": 20.2,
        "height": 20.2,
        "weight": 20.2
      }
    },
    {
      "channelSkuCode": "channelSkuCode2",
      "category": "category",
      "brand": "puma",
      "styleCode": "erp article style",
      "mrp": 1299,
      "hsn": "hsn1234",
      "imageUrl": "HTTP://www.mybrand.com/styl123.jpg",
      "name": "product name",
      "taxRule": "GST_APPAREL",
      "size": "xl",
      "color": "blue",
      "grnToleranceDays": null,
      "returnToleranceDays": null,
      "skuDimension": null
    }
  ]
}

Parameter Name

Data Type

Description

Mandatory

articleMasters

Object [ ]

List of article masters SKUs that needs to be updated. 

yes

channelSkuCode

String

Code used by the channel to identify an SKU. It cannot This will not be updated.

yes

category

String

Represents the broad category this product belongs to

no

brand

String

Brand of the skuproduct

no

styleCode

String

styleCode of the product

no

mrp

Double

Maximum Retail Price of the product

no

hsn

String

HSN code of the product

no

imageUrl

String

Public image url of the product. This is used in warehouse at multiple stages to gain efficiency and accuracy

no

name

String

Name of the product

no

taxRule

String

Rule used to compute tax as per Assure Increff Omni Tax Rule Table

no

size

String

Size of the product

no

color

String

Color of the product

no

grnToleranceDays

Integer

Valid for perishable products only.

System will provide validation at the time of GRN if products is getting expired in less the GRN tolerance days

no

 

returnToleranceDays

Integer

Valid for perishable products only.

System will provide validation at the time of B2C return if products is getting expired in less the returnToleranceDays days

no

skuDimension

Object

Dimensions of SKU

no

skuDimension.length

Double

Length of SKU in CMs

no

skuDimension.breadth

Double

Breadth of SKU in CMs

no

skuDimension.height

Double

Height of SKU in CMs

no

skuDimension.weight

Double

Weight of SKU in grams

no

Response

EmptyBody

HttpStatus : 200