Skip to end of banner
Go to start of banner

Update SKU Master API

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Inbound | PUT | /master/articles

Summary

This API is used to update standard SKU master fields.

Description

This API will update standard SKU masters in Omni. 

Note : Single payload can contain upto 5000 SKU.

This API does not update the SKU Attributes.

This API throws error if SKU masters is not created.

Request

{
  "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 SKUs that needs to be updated. 

yes

channelSkuCode

String

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

yes

category

String

Represents the broad category this product belongs to

no

brand

String

Brand of the product

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 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

  • No labels