Skip to main content

unlinkAccountingItem

Breaks the association between a product's accounting item and the provider record it is linked to.

Neither record is changed. The endless-owned item keeps every value on it, the provider's copy is left alone, and both become available to link again — to each other or to something else. Use this when a match was made against the wrong provider item.

Business Rules​

  • The product must currently be linked to an item in the given integration.
  • The link is archived rather than deleted, so the history of it survives.
  • Nothing is pushed to or read from the provider.

Error Scenarios​

  • **NOT_FOUND**: the integration does not exist or belongs to another company, or the product has no linked item in it.

Permissions Required​

  • accounting:configure_product_accounting permission.
unlinkAccountingItem(
input: UnlinkAccountingItemInput!
): UnlinkAccountingItemPayload

Arguments​

unlinkAccountingItem.input ● UnlinkAccountingItemInput! non-null input common​

Parameters for UnlinkAccountingItem

Type​

UnlinkAccountingItemPayload object common​

Autogenerated return type of UnlinkAccountingItem.