post
https://{url}/core/v1/partner/organizations//tags
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Attaches a partner organization tag to an organization, creating the tag on first use. Tag names are case-insensitive; up to 50 tags per organization.
- Tags cannot be deleted. They can only be removed from organizations.
- A tag added with an API key shows no "added by" person in the Partner portal.
- To give a tag a coupon, create the coupon first (Create Coupon). Add the tag to organizations after that.
Success
200 OK — the tag is attached. If it was already attached, the existing note is kept.
{
"id": "....-d75e0abec7d2",
"name": "Gold",
"note": "Renewed in May",
"store_visible": true,
"coupons": [{ "id": "....-a1", "name": "Gold 10", "status": "active", "source": "tag" }]
}id— the organization tag id, used asorganization_tag_idwhen creating a coupon.coupons— every coupon now applied to the organization (same list as GET organizations:sourcetagorcode, empty without the Store plan feature or thestore_couponsflag); a tag coupon discounts the customer only whenstore_visibleis true.
Errors
- 404 — the organization is not visible to the partner.
- 422 —
nameis blank, or the organization already has 50 tags.
