Skip to main content

updateProductEconomicsRecord

Update Product Economics Record​

Edits a user_update snapshot in the product economics time-series log. unit_cost / inbound_cost / landed_cost are recalculated from the edited components.

Authentication​

Requires authentication and the products:update_product_economics permission.

Possible Errors​

  • **Record not found**
  • **Cannot edit shipment-sourced row**: only user_update rows are editable
updateProductEconomicsRecord(
input: UpdateProductEconomicsRecordInput!
): ProductEconomicsRecord!

Arguments​

updateProductEconomicsRecord.input ● UpdateProductEconomicsRecordInput! non-null input common​

Parameters for UpdateProductEconomicsRecord

Type​

ProductEconomicsRecord object products​

A single snapshot in the product economics time-series log.