Seller Forums
Sign in
Sign in
imgSign in
imgSign in
user profile
Seller_Zfz9OmQiuAdRu

Update Inventory quantity using JSON_LISTINGS_FEED with SP-API

how to update Inventory quantity using JSON_LISTINGS_FEED with SP-API without providing ProductType

We got below body from help guide but not sure how to proceed without productType

{

"header": {

"sellerId": "AXXXXXXXXXXXXX",

"version": "2.0",

"issueLocale": "en_US"

},

"messages": [

{

"messageId": 1,

"sku": "ABC123",

"operationType": "PATCH",

"productType": "PRODUCT",

"patches": [

{

"op": "replace",

"path": "/attributes/fulfillment_availability",

"value": [

{

"fulfillment_channel_code": "DEFAULT",

"quantity": 5

}

]

},

... (more patches, if applicable)

]

},

... (more messages, if applicable)

]

}

54 views
1 reply
Tags:Inventory, Inventory feeds
00
Reply
user profile
Seller_Zfz9OmQiuAdRu

Update Inventory quantity using JSON_LISTINGS_FEED with SP-API

how to update Inventory quantity using JSON_LISTINGS_FEED with SP-API without providing ProductType

We got below body from help guide but not sure how to proceed without productType

{

"header": {

"sellerId": "AXXXXXXXXXXXXX",

"version": "2.0",

"issueLocale": "en_US"

},

"messages": [

{

"messageId": 1,

"sku": "ABC123",

"operationType": "PATCH",

"productType": "PRODUCT",

"patches": [

{

"op": "replace",

"path": "/attributes/fulfillment_availability",

"value": [

{

"fulfillment_channel_code": "DEFAULT",

"quantity": 5

}

]

},

... (more patches, if applicable)

]

},

... (more messages, if applicable)

]

}

Tags:Inventory, Inventory feeds
00
54 views
1 reply
Reply
0 replies
user profile
Seller_i6S8knzW6zU6Z

Hi @Seller_Zfz9OmQiuAdRu,

According to the SP-API documentation, under the section "New Listings Items API submission when updating inventory only":

"inventory data can be submitted for any listings item regardless of its product type. This allows inventory-only workflows to migrate entirely to the Listings Items API and JSON_LISTINGS_FEED."

You can simply use "productType": "PRODUCT" as a hardcoded value - there's no need to dynamically insert any product-specific type.

Kind regards, Michael

00
Follow this discussion to be notified of new activity
user profile
Seller_Zfz9OmQiuAdRu

Update Inventory quantity using JSON_LISTINGS_FEED with SP-API

how to update Inventory quantity using JSON_LISTINGS_FEED with SP-API without providing ProductType

We got below body from help guide but not sure how to proceed without productType

{

"header": {

"sellerId": "AXXXXXXXXXXXXX",

"version": "2.0",

"issueLocale": "en_US"

},

"messages": [

{

"messageId": 1,

"sku": "ABC123",

"operationType": "PATCH",

"productType": "PRODUCT",

"patches": [

{

"op": "replace",

"path": "/attributes/fulfillment_availability",

"value": [

{

"fulfillment_channel_code": "DEFAULT",

"quantity": 5

}

]

},

... (more patches, if applicable)

]

},

... (more messages, if applicable)

]

}

54 views
1 reply
Tags:Inventory, Inventory feeds
00
Reply
user profile
Seller_Zfz9OmQiuAdRu

Update Inventory quantity using JSON_LISTINGS_FEED with SP-API

how to update Inventory quantity using JSON_LISTINGS_FEED with SP-API without providing ProductType

We got below body from help guide but not sure how to proceed without productType

{

"header": {

"sellerId": "AXXXXXXXXXXXXX",

"version": "2.0",

"issueLocale": "en_US"

},

"messages": [

{

"messageId": 1,

"sku": "ABC123",

"operationType": "PATCH",

"productType": "PRODUCT",

"patches": [

{

"op": "replace",

"path": "/attributes/fulfillment_availability",

"value": [

{

"fulfillment_channel_code": "DEFAULT",

"quantity": 5

}

]

},

... (more patches, if applicable)

]

},

... (more messages, if applicable)

]

}

Tags:Inventory, Inventory feeds
00
54 views
1 reply
Reply
user profile

Update Inventory quantity using JSON_LISTINGS_FEED with SP-API

by Seller_Zfz9OmQiuAdRu

how to update Inventory quantity using JSON_LISTINGS_FEED with SP-API without providing ProductType

We got below body from help guide but not sure how to proceed without productType

{

"header": {

"sellerId": "AXXXXXXXXXXXXX",

"version": "2.0",

"issueLocale": "en_US"

},

"messages": [

{

"messageId": 1,

"sku": "ABC123",

"operationType": "PATCH",

"productType": "PRODUCT",

"patches": [

{

"op": "replace",

"path": "/attributes/fulfillment_availability",

"value": [

{

"fulfillment_channel_code": "DEFAULT",

"quantity": 5

}

]

},

... (more patches, if applicable)

]

},

... (more messages, if applicable)

]

}

Tags:Inventory, Inventory feeds
00
54 views
1 reply
Reply
0 replies
0 replies
Quick filters
Sort by
user profile
Seller_i6S8knzW6zU6Z

Hi @Seller_Zfz9OmQiuAdRu,

According to the SP-API documentation, under the section "New Listings Items API submission when updating inventory only":

"inventory data can be submitted for any listings item regardless of its product type. This allows inventory-only workflows to migrate entirely to the Listings Items API and JSON_LISTINGS_FEED."

You can simply use "productType": "PRODUCT" as a hardcoded value - there's no need to dynamically insert any product-specific type.

Kind regards, Michael

00
Follow this discussion to be notified of new activity
user profile
Seller_i6S8knzW6zU6Z

Hi @Seller_Zfz9OmQiuAdRu,

According to the SP-API documentation, under the section "New Listings Items API submission when updating inventory only":

"inventory data can be submitted for any listings item regardless of its product type. This allows inventory-only workflows to migrate entirely to the Listings Items API and JSON_LISTINGS_FEED."

You can simply use "productType": "PRODUCT" as a hardcoded value - there's no need to dynamically insert any product-specific type.

Kind regards, Michael

00
user profile
Seller_i6S8knzW6zU6Z

Hi @Seller_Zfz9OmQiuAdRu,

According to the SP-API documentation, under the section "New Listings Items API submission when updating inventory only":

"inventory data can be submitted for any listings item regardless of its product type. This allows inventory-only workflows to migrate entirely to the Listings Items API and JSON_LISTINGS_FEED."

You can simply use "productType": "PRODUCT" as a hardcoded value - there's no need to dynamically insert any product-specific type.

Kind regards, Michael

00
Reply
Follow this discussion to be notified of new activity