updateFulfillmentCosts
Updates costs for a fulfillment.
Business Rules
- Passing
supplierShippingCostupdates the supplier shipping cost. - Passing
supplierShippingCost: nullclears the supplier shipping cost. - Omitting
supplierShippingCostleaves the supplier shipping cost unchanged. - Passing
supplierOtherFeesupdates the supplier other fees amount. - Passing
supplierOtherFees: nullclears the supplier other fees amount. - Omitting
supplierOtherFeesleaves the supplier other fees amount unchanged. - Passing
supplierOtherFeesNoteupdates the supplier other fees note. - Passing
supplierOtherFeesNote: nullclears the supplier other fees note. - Omitting
supplierOtherFeesNoteleaves the supplier other fees note unchanged. - At least one cost field must be provided.
- Monetary cost fields must be non-negative when provided.
Error Scenarios
- **
NOT_FOUND**: the fulfillment does not exist. - **
BAD_REQUEST**: no cost fields are provided, or a cost is negative. - **
UNAUTHORIZED**: missing required permissions or invalid company access.
Permissions Required
orders:update_fulfillment_costspermission
updateFulfillmentCosts(
input: UpdateFulfillmentCostsInput!
): OrderFulfillment!
Arguments
updateFulfillmentCosts.input ● UpdateFulfillmentCostsInput! non-null input common
Parameters for UpdateFulfillmentCosts
Type
OrderFulfillment object orders
This type represents an order fulfillment. An order can have multiple fulfillments, each one associated with a warehouse and a party that fulfilled the order.