SalesChannelTownships

Retrieve Sales Channel Township

get

Retrieve a specific Sales Channel Township 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 Township retrieved successfully

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

Update Sales Channel Township

put

Update a specific Sales Channel Township 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 Township updated

No content

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

No content

Delete Sales Channel Township

delete

Delete a specific Sales Channel Township 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}/townships/{id}/

No content

Partial Update Sales Channel Township

patch

Partial update a specific Sales Channel Township 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 Township updated

No content

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

No content

Retrieve Sales Channel Township with details

get

Retrieve a specific Sales Channel Township 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 Township retrieved successfully with details

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

List Sales Channel Townships

get

List Sales Channel Townships

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

name__iexactstringOptional

Filters case insensitive 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.

priorityintegerOptional

Filter by priority

Example: 1
city_idinteger · min: 1Optional

Filter by City ID

postcodestringOptional

Filter by Postcode

pk__ininteger[]Optional

Filter by multiple primary key values (comma-separated list of integers)

Responses
chevron-right
200

OK

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

Create Sales Channel Township

post

Create Sales Channel Township

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

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

List Sales Channel Townships with details

get

List Sales Channel Townships 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

name__iexactstringOptional

Filters case insensitive 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.

priorityintegerOptional

Filter by priority

Example: 1
city_idinteger · min: 1Optional

Filter by City ID

postcodestringOptional

Filter by Postcode

pk__ininteger[]Optional

Filter by multiple primary key values (comma-separated list of integers)

Responses
chevron-right
200

OK

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

Last updated

Was this helpful?