Versions Compared

Key

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

Inbound | PATCH | /

...

master/

...

sku-listings

Summary

This API will be used only by ERP channel to update the listings of the ERP(itself) or other marketplaces (mapped against the same client entity).

...

Code Block
languagejson
{
    "channelIdchannelName": "MYNTRAV4",
    "updateLisitingskuListings": [
        {
            "channelSkuCode": "sku",
            "toleranceDays": 1,
            "modifiedChannelSkuCode": "sku1",
            "modifiedChannelSerialCode": "sku1"
        }
    ]
}

 

Parameter

Data Type

Description

Mandatory

channelId

channelName

String

The channel name

Yes

updateLisiting

skuListings

List<skuListing>

Object []

List of objects of listings

Yes

updateLisiting.channelSkuCode

String

The existing channel SKU code

Yes

updateLisiting.toleranceDays

Integer

The updated tolerance day of perishable SKUs. This should be sent only in case the SKU is perishable

No

updateLisiting.modifiedChannelSkuCode

String

The updated channel SKU code

No

updateLisiting.modifiedChannelSerialCode

String

The updated channel serial code

No

Response

Code Block
languagejson
{
    "failureList": [],
    "successList": [
        {
            "channelSkuCode": "sku",
            "toleranceDays": 1,
            "modifiedChannelSkuCode": "sku1",
            "modifiedChannelSerialCode": "sku1"
        }
    ]
}

...