Anchor to section titled 'undefined'

shippingPackageDelete
mutation

Requires Any of shipping access scopes or manage_delivery_settings user permission.

Deletes a shipping package.


Anchor to id
id
required

The ID of the shipping package to remove.


Was this section helpful?

The ID of the deleted shipping package.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation shippingPackageDelete($id: ID!) {
  shippingPackageDelete(id: $id) {
    deletedId
    userErrors {
      field
      message
    }
  }
}
Hide code
Input
Copy
{
  "id": "gid://shopify/<objectName>/10079785100"
}