---
title: OrderAttributionDefinitionDeleteUserError - GraphQL Admin
description: >-
  An error that occurs during the execution of
  `OrderAttributionDefinitionDelete`.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderAttributionDefinitionDeleteUserError
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderAttributionDefinitionDeleteUserError.md
api_name: admin
api_type: graphql
type: object
---

# Order​Attribution​Definition​Delete​User​Error

object

An error that occurs during the execution of `OrderAttributionDefinitionDelete`.

## Fields

* code

  [Order​Attribution​Definition​Delete​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/latest/enums/OrderAttributionDefinitionDeleteUserErrorCode)

  The error code.

* field

  [\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  The path to the input field that caused the error.

* message

  [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  non-null

  The error message.

***

## Map

No referencing types

***

## Mutations

* [order​Attribution​Definition​Delete](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderAttributionDefinitionDelete)

  mutation

  Deletes an order attribution definition for the calling app on the current shop. Existing orders attributed to this definition are preserved.

  Learn more in the [order attribution guide](https://shopify.dev/docs/apps/build/sales-channels/order-attribution).

  * id

    [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

    required

    ### Arguments

    The ID of the order attribution definition to delete.

  ***

***

## OrderAttributionDefinitionDeleteUserError Mutations

### Mutated by

* [order​Attribution​Definition​Delete](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderAttributionDefinitionDelete)

***

## Interfaces

* [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)

  interface

***

## OrderAttributionDefinitionDeleteUserError Implements

### Implements

* [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)
