SalesChannelCities

Retrieve Sales Channel City

get

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

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

Update Sales Channel City

put

Update a specific Sales Channel City 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
idintegerRead-onlyOptional

City ID

namestring · stringRequired

City Name

Example: Istanbul
created_datestring · date-timeRead-onlyOptional

Creation Date

modified_datestring · date-timeRead-onlyOptional

Last Modification Date

is_activebooleanOptional

Is it active? (True/False)

Example: true
countryinteger · int64Required

Related Country ID

priorityinteger · int64Optional

Priority

Example: 1
postcodestring · stringOptional

Postcode

Example: 34000
Responses
chevron-right
200

Sales Channel City updated

No content

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

No content

Delete Sales Channel City

delete

Delete Sales Channel City for a specific channel.

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}/cities/{id}/

No content

Partial Update Sales Channel City

patch

Partial update a specific Sales Channel City 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
idintegerRead-onlyOptional

City ID

namestring · stringRequired

City Name

Example: Istanbul
created_datestring · date-timeRead-onlyOptional

Creation Date

modified_datestring · date-timeRead-onlyOptional

Last Modification Date

is_activebooleanOptional

Is it active? (True/False)

Example: true
countryinteger · int64Required

Related Country ID

priorityinteger · int64Optional

Priority

Example: 1
postcodestring · stringOptional

Postcode

Example: 34000
Responses
chevron-right
200

Sales Channel City updated

No content

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

No content

Retrieve Sales Channel Cities with details

get

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

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

List Sales Channel Cities

get

List Sales Channel Cities

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.

Responses
chevron-right
200

OK

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

Create Sales Channel City

post

Create Sales Channel City for a specific channel.

Authorizations
AuthorizationstringRequired
Path parameters
channel_idintegerRequired

The channel ID of the resource.

Example: 5
Body
idintegerRead-onlyOptional

City ID

namestring · stringRequired

City Name

Example: Istanbul
created_datestring · date-timeRead-onlyOptional

Creation Date

modified_datestring · date-timeRead-onlyOptional

Last Modification Date

is_activebooleanOptional

Is it active? (True/False)

Example: true
countryinteger · int64Required

Related Country ID

priorityinteger · int64Optional

Priority

Example: 1
postcodestring · stringOptional

Postcode

Example: 34000
Responses
post
/api/v1/channel/{channel_id}/cities/

List Sales Channel Cities with details

get

List Sales Channel Cities 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.

Responses
chevron-right
200

OK

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

Last updated

Was this helpful?