Endpoint
GET/repricing_data/<sku>
Description
Get repricing data for the given sku. If no SKU is provided, all repricing data will be returned.
Output
JSON array of repricing data:
[ {
<sku>: <item SKU>,
<isbn>: <isbn product ID>,
<diff>: <price difference for manual repricing>,
<new_price>: <selected new price on manual repricing>,
<rank>: <rank at time of pricing run>,
<price_block>: <HTML pricing block for legacy AoB presentation>,
<old_price>: <price before last repricing>,
<changed>: <'n' mean not repriced yet, 'y' means repricing has been done>,
<eval_output>: <auto repricing script output>,
<last_pricing_update>: <date/time of last auto pricing update time>
},
...
]
Endpoint
DELETE/repricing_data/<sku>
Description
Mark the given SKU as having been repriced. i.e. set “changed” to “y”.
Output
OK
Comments