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

# carrierServiceSettingsUpdate

> Turn services on connected carrier accounts on or off for shipping labels or return labels. Services you don't list are unchanged. Returns the settings after the change.

**Required scopes:** [`shipping_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-shipping_write)

## Arguments

**changes** `[\[CarrierServiceSettingInput!\]!](/docs/api-reference/v3/reference/shipping/carrier-service-setting-input)` *required*

Applied in order; a later change to the same service wins. At most 500. Send every change in one call: concurrent updates can overwrite each other.

**fields**

**carrier** `String!` *required*

As `CarrierServiceSetting.carrier` returns it.

**carrierAccountId** `String!` *required*

**returnsEnabled** `Boolean`

Omit to leave unchanged. Rejected unless `returnsSettingsApply` is true.

**service** `String!` *required*

As `CarrierServiceSetting.service` returns it.

**shippingEnabled** `Boolean`

Omit to leave unchanged.

## Returns

**carrierServiceSettingsUpdate** `[CarrierServiceSettings!](/docs/api-reference/v3/reference/shipping/carrier-service-settings)` *required*

Which services on the store's connected carrier accounts are offered for shipping labels and for return labels. Redo's own carrier accounts are not listed.

**fields**

**carrierAccounts** `[\[CarrierAccountServiceSettings!\]!](/docs/api-reference/v3/reference/shipping/carrier-account-service-settings)` *required*

The store's connected carrier accounts.

**fields**

**carrier** `String!` *required*

Carrier of the account.

**carrierAccountId** `String!` *required*

The account's id, the same `carrierAccountId` its rates carry.

**name** `String!` *required*

The account's name.

**services** `[\[CarrierServiceSetting!\]!](/docs/api-reference/v3/reference/shipping/carrier-service-setting)` *required*

Every service the account offers.

**fields**

**carrier** `String!` *required*

Carrier of the service, as rates return it. Usually the account's carrier; Stallion Express accounts list the carriers they route through.

**name** `String!` *required*

Display name.

**returnsEnabled** `Boolean!` *required*

Whether the service is offered for return labels. Has no effect unless `returnsSettingsApply` is true.

**service** `String!` *required*

Service level code, as rates return it.

**shippingEnabled** `Boolean!` *required*

Whether the service is offered for shipping labels, checkout rates and API rate quotes.

**returnsSettingsApply** `Boolean!` *required*

Whether `returnsEnabled` is used: returns is on and return labels can use the store's own carrier accounts.

## Example

```graphql theme={null}
mutation {
  carrierServiceSettingsUpdate(changes: { ... }) {
    returnsSettingsApply
  }
}
```


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