> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/api-reference/endpoints/ecommerce/sales-channels/update-sales-channel.md).

# Update sales channel

Update a custom sales channel. The merchant-facing name and the public url (returned as the channel domain) can be changed. Pass null to clear a value.

{% openapi src="<https://developers.hostinger.com/openapi/openapi.json>" path="/api/ecommerce/v1/stores/{store\_id}/sales-channels/{sales\_channel\_id}" method="patch" %}
<https://developers.hostinger.com/openapi/openapi.json>
{% endopenapi %}
