Skip to content

Commit

Permalink
DEVDOCS-6142: Shipping V2 API, update channel_ids field (part 2) (#635)
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-andreadao authored Nov 6, 2024
1 parent 8a05051 commit c4866a3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
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

0 comments on commit c4866a3

Please sign in to comment.