Anchor to shippingPackageDeleteshipping
shippingPackageDelete
mutation
Requires Any of shipping
access scopes or user permission.
Deletes a shipping package.
Anchor to Arguments
Arguments
- •ID!required
The ID of the shipping package to remove.
Was this section helpful?
Anchor to ShippingPackageDeletePayload returnsShippingPackageDeletePayload returns
- Anchor to deletedIddeleted•
Id The ID of the deleted shipping package.
- Anchor to userErrorsuser•
Errors [UserError!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation shippingPackageDelete($id: ID!) {
shippingPackageDelete(id: $id) {
deletedId
userErrors {
field
message
}
}
}
Input
{
"id": "gid://shopify/<objectName>/10079785100"
}
{
"id": "gid://shopify/<objectName>/10079785100"
}