For the complete documentation index, see llms.txt. This page is also available as Markdown.

Sales Channel Districts

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
200

Sales Channel District retrieved successfully

application/json
created_datestring · date-timeRead-onlyOptional

The date and time when the object was created.

modified_datestring · date-timeOptional

The date and time when the object was last modified.

pkintegerRead-onlyOptional

Primary key of the district

namestring · stringRequired

District Name

Example: Davutpasa
is_activebooleanOptional

Is it active? (True/False)

Example: true
cityinteger · int64Required

Related City ID

townshipinteger · int64Required

Related Township ID

postcodestring · stringOptional

Postcode

Example: 34000
zipcodestring · stringOptional

Zipcode

Example: 34000
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
created_datestring · date-timeRead-onlyOptional

The date and time when the object was created.

modified_datestring · date-timeOptional

The date and time when the object was last modified.

pkintegerRead-onlyOptional

Primary key of the district

namestring · stringRequired

District Name

Example: Davutpasa
is_activebooleanOptional

Is it active? (True/False)

Example: true
cityinteger · int64Required

Related City ID

townshipinteger · int64Required

Related Township ID

postcodestring · stringOptional

Postcode

Example: 34000
zipcodestring · stringOptional

Zipcode

Example: 34000
Responses
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
204

Sales Channel District deleted successfully

No content

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
created_datestring · date-timeRead-onlyOptional

The date and time when the object was created.

modified_datestring · date-timeOptional

The date and time when the object was last modified.

pkintegerRead-onlyOptional

Primary key of the district

namestring · stringRequired

District Name

Example: Davutpasa
is_activebooleanOptional

Is it active? (True/False)

Example: true
cityinteger · int64Required

Related City ID

townshipinteger · int64Required

Related Township ID

postcodestring · stringOptional

Postcode

Example: 34000
zipcodestring · stringOptional

Zipcode

Example: 34000
Responses
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
200

Sales Channel District retrieved successfully with details

application/json
created_datestring · date-timeRead-onlyOptional

The date and time when the object was created.

modified_datestring · date-timeOptional

The date and time when the object was last modified.

pkintegerRead-onlyOptional

Primary key of the district

namestring · stringRequired

District Name

Example: Davutpasa
is_activebooleanOptional

Is it active? (True/False)

Example: true
postcodestring · stringOptional

Postcode

Example: 34000
zipcodestring · stringOptional

Zipcode

Example: 34000
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
200

OK

application/json
countintegerOptionalExample: 0
nextstring · nullableOptional

Next page URL

previousstring · nullableOptional

Previous page URL

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
created_datestring · date-timeRead-onlyOptional

The date and time when the object was created.

modified_datestring · date-timeOptional

The date and time when the object was last modified.

pkintegerRead-onlyOptional

Primary key of the district

namestring · stringRequired

District Name

Example: Davutpasa
is_activebooleanOptional

Is it active? (True/False)

Example: true
cityinteger · int64Required

Related City ID

townshipinteger · int64Required

Related Township ID

postcodestring · stringOptional

Postcode

Example: 34000
zipcodestring · stringOptional

Zipcode

Example: 34000
Responses
201

Sales Channel District Created

application/json
created_datestring · date-timeRead-onlyOptional

The date and time when the object was created.

modified_datestring · date-timeOptional

The date and time when the object was last modified.

pkintegerRead-onlyOptional

Primary key of the district

namestring · stringRequired

District Name

Example: Davutpasa
is_activebooleanOptional

Is it active? (True/False)

Example: true
cityinteger · int64Required

Related City ID

townshipinteger · int64Required

Related Township ID

postcodestring · stringOptional

Postcode

Example: 34000
zipcodestring · stringOptional

Zipcode

Example: 34000
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
200

OK

application/json
countintegerOptionalExample: 0
nextstring · nullableOptional

Next page URL

previousstring · nullableOptional

Previous page URL

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

Last updated

Was this helpful?