Skip to content

Create a tag

POST
/admin/v1/tags
curl --request POST \
--url https://your-store.example.com/admin/v1/tags \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "slug": "example" }'
Media type application/json
object
name
required
string
>= 1 characters <= 512 characters
slug
string
>= 1 characters <= 512 characters
Example generated
{
"name": "example",
"slug": "example"
}