Add Organization Tag

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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 as organization_tag_id when creating a coupon.
  • coupons — every coupon now applied to the organization (same list as GET organizations: source tag or code, empty without the Store plan feature or the store_coupons flag); a tag coupon discounts the customer only when store_visible is true.

Errors

  • 404 — the organization is not visible to the partner.
  • 422 — name is blank, or the organization already has 50 tags.
Path Params
string
required

Organization ID

Body Params
string
required
string
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json