API ReferenceCommerceProducts & inventoryCatalog GraphQLInventoryMutationupdateInventoryAdjustmentReason
updateInventoryAdjustmentReason
View as MarkdownUpdate the label of a store-scoped inventory adjustment reason. Global preset reasons cannot be updated.
mutation
Requires commerce.product:write.
Update the label of a store-scoped inventory adjustment reason. Global preset reasons cannot be updated.
Required headers
| Header | Required | Description |
|---|---|---|
x-store-id | Yes | ID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: extensions.code: "UNAUTHENTICATED". |
Go to Authentication for credential setup.
Arguments
inputMutationUpdateInventoryAdjustmentReasonInput!requiredidID!requiredlabelStringoptional
Possible returns
InventoryAdjustmentReasonInventoryAdjustmentReason— A reason that can be associated with an inventory adjustment to explain why it occurred. Global preset reasons are prefixed with "g-" (e.g. g-damage, g-shrinkage). Store-scoped reasons use plain kebab-case names.
Last updated on
How is this guide?