> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
> Use this file to discover all available pages before exploring further.

# updateEntitlementsOrder

> Update entitlements order



**mutation** `updateEntitlementsOrder(input: UpdatePackageEntitlementOrderInput!): [UpdateEntitlementsOrderDTO!]!`

## Arguments

**`input`**: `UpdatePackageEntitlementOrderInput!` (required)

Update package entitlement order input

## Returns

`[UpdateEntitlementsOrderDTO!]!`

**`id`**: `UUID!`

---

**`order`**: `Float`

The order of the entitlement in the entitlement list

## Examples

```graphql Mutation
mutation UpdateEntitlementsOrder($input: UpdatePackageEntitlementOrderInput!) {
  updateEntitlementsOrder(input: $input) {
    id
    order
  }
}
```

```json Variables
{
  "input": {
    "entitlements": [
      {
        "id": "value"
      }
    ],
    "packageId": "string"
  }
}
```

```json Response
{
  "data": {
    "updateEntitlementsOrder": [
      {
        "id": "value",
        "order": 1.5
      }
    ]
  }
}
```


## Related topics

- [UpdateEntitlementsOrderDTO](https://docs.stigg.io/graphql-reference/types/UpdateEntitlementsOrderDTO.md)
- [UpdatePackageEntitlementOrderInput](https://docs.stigg.io/graphql-reference/types/UpdatePackageEntitlementOrderInput.md)
- [UpdatePackageEntitlementOrderItemInput](https://docs.stigg.io/graphql-reference/types/UpdatePackageEntitlementOrderItemInput.md)
- [Update a addon entitlement](https://docs.stigg.io/api-reference/addon-entitlements/update-a-addon-entitlement.md)
- [Update a plan entitlement](https://docs.stigg.io/api-reference/plan-entitlements/update-a-plan-entitlement.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.