Update Listing
hgr_update_listingChanges editable fields of one exact listing variation using HGRApi SaveProductChanges. Call only after the listing is exact and the user explicitly confirmed the action. Requires HGRApi Header channel / ChannelOAuthId resolved internally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | New listing notes. | |
| price | No | New channel price. | |
| title | No | New listing title. | |
| markup | No | New percentage markup. | |
| quantity | No | New channel stock quantity. | |
| confirmed | Yes | Must be true after the user explicitly requested or confirmed the exact change. | |
| primeOnly | No | Whether this listing should use Prime-only source offers when applicable. | |
| productId | No | Visible marketplace Product Id / primary id. Prefer this when the user provides a Product Id. | |
| sourceUrl | No | New source product URL. | |
| ignoreRules | No | Whether this listing ignores pricing rules. | |
| markupFixed | No | New fixed markup. | |
| minQuantity | No | New minimum quantity setting. | |
| monitorPrice | No | Whether HGR should monitor source price for this listing. | |
| monitorStock | No | Whether HGR should monitor source stock for this listing. | |
| returnPolicy | No | New marketplace return business policy id. | |
| paymentPolicy | No | New marketplace payment business policy id. | |
| channelOAuthId | Yes | ChannelOAuthId returned by hgr_list_channels for the selected visible store. | |
| shippingPolicy | No | New marketplace shipping business policy id. | |
| maxDeliveryDays | No | New maximum delivery days setting. | |
| dispatchTimeDays | No | New dispatch handling time in days. | |
| variationProductId | No | Visible variation Product Id / primary id when the listing has multiple variations. | |
| monitorPriceDecrease | No | Whether HGR should monitor source price decreases for this listing. | |
| priceDecreasePercentage | No | Price decrease percentage setting. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||