Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEVDOCS-6142: Shipping V2 API, update channel_ids field (part 2) #635

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ We don't support multiple accounts of the same carrier (e.g., using distinct acc

## Settings

Shipping methods have a `channels` setting. This setting determines which channels can display the shipping zone's method. Shipping methods are available on all channels by default.
Shipping methods have a `channel_ids` setting. This setting determines which channels can display the shipping zone's method. Shipping methods are available on all channels by default.

For reference, see the [Shipping method](/docs/rest-management/shipping-v2/shipping-method) endpoint of the REST Management API.

Expand All @@ -42,7 +42,7 @@ The following example creates a shipping method in a zone by sending a request t
"handling_fees": {
"fixed_surcharge": "3"
},
"channels": [1, 3]
"channel_ids": [1, 3]
}
```

Expand All @@ -61,7 +61,7 @@ The following example creates a shipping method in a zone by sending a request t
"handling_fees": {
"fixed_surcharge": "3"
},
"channels": [1, 3]
"channel_ids": [1, 3]
}
```

Expand Down
12 changes: 6 additions & 6 deletions reference/shipping.v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ paths:

| Property | Type | Description |
| - | - | - |
| channels | array | Channels associated with the method as an array of integers. |
| channel_ids | array | Channels associated with the method as an array of integers. |
summary: Create a Shipping Method
tags:
- Shipping Method
Expand Down Expand Up @@ -1301,7 +1301,7 @@ paths:
"settings": {
"rate": 7
},
"channels": [1]
"channel_ids": [1]
},
```

Expand Down Expand Up @@ -1358,7 +1358,7 @@ paths:
}
]
},
"channels": [1]
"channel_ids": [1]
}
```

Expand Down Expand Up @@ -1411,7 +1411,7 @@ paths:
}
]
},
"channels": [1]
"channel_ids": [1]
}
```

Expand Down Expand Up @@ -1452,7 +1452,7 @@ paths:

| Property | Type | Description |
| - | - | - |
| channels | array | Channels associated with the method as an array of integers. |
| channel_ids | array | Channels associated with the method as an array of integers. |
summary: Get a Shipping Method
tags:
- Shipping Method
Expand Down Expand Up @@ -1717,7 +1717,7 @@ paths:

| Property | Type | Description |
| - | - | - |
| channels | array | Channels associated with the method as an array of integers. |
| channel_ids | array | Channels associated with the method as an array of integers. |
summary: Update a Shipping Method
tags:
- Shipping Method
Expand Down
Loading