SalesChannelDistricts

Retrieve Sales Channel District

get

Retrieve a specific Sales Channel District by ID

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
chevron-right
200

Sales Channel District retrieved successfully

application/json
get
/api/v1/channel/{channel_id}/districts/{id}/

Update Sales Channel District

put

Update a specific Sales Channel District by ID

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
Responses
chevron-right
200

Sales Channel District updated

No content

put
/api/v1/channel/{channel_id}/districts/{id}/

No content

Delete Sales Channel District

delete

Delete a specific Sales Channel District by ID

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
delete
/api/v1/channel/{channel_id}/districts/{id}/

No content

Partial Update Sales Channel District

patch

Partial update a specific Sales Channel District by ID

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Body
Responses
chevron-right
200

Sales Channel District updated

No content

patch
/api/v1/channel/{channel_id}/districts/{id}/

No content

Retrieve Sales Channel District with details

get

Retrieve a specific Sales Channel District by ID with details

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
idintegerRequired

Unique identifier of the resource

Example: 1
Responses
chevron-right
200

Sales Channel District retrieved successfully with details

application/json
get
/api/v1/channel/{channel_id}/districts/{id}/detailed/

List Sales Channel Districts

get

List Sales Channel Districts

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
Query parameters
pageinteger · min: 1Optional

Specifies the page number of the current dataset

Default: 1
limitinteger · min: 1Optional

Indicates the number of rows on the current page.

Default: 10
name__exactstringOptional

Filters by exact name

mapping__integration_typestring · enumOptional

Filter by integration mapping object's integration type

Possible values:
mapping__code__exactstringOptional

Filter by integration mapping object's code

hyperbooleanOptional

Activate id to hyperlink the response data.

city_idinteger · min: 1Optional

Filter by City ID

township_idinteger · min: 1Optional

Filter by Township ID

postcodestringOptional

Filter by Postcode

Responses
chevron-right
200

OK

application/json
get
/api/v1/channel/{channel_id}/districts/

Create Sales Channel District

post

Create Sales Channel District

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
Body
Responses
post
/api/v1/channel/{channel_id}/districts/

List Districts with details

get

List Districts with details

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
Query parameters
pageinteger · min: 1Optional

Specifies the page number of the current dataset

Default: 1
limitinteger · min: 1Optional

Indicates the number of rows on the current page.

Default: 10
name__exactstringOptional

Filters by exact name

mapping__integration_typestring · enumOptional

Filter by integration mapping object's integration type

Possible values:
mapping__code__exactstringOptional

Filter by integration mapping object's code

hyperbooleanOptional

Activate id to hyperlink the response data.

city_idinteger · min: 1Optional

Filter by City ID

township_idinteger · min: 1Optional

Filter by Township ID

postcodestringOptional

Filter by Postcode

Responses
chevron-right
200

OK

application/json
get
/api/v1/channel/{channel_id}/districts/detailed/

Last updated

Was this helpful?