Create a new return tag, update an existing tag’s color, or rename a tag. When newName is set and differs from the path name, the rename cascades to returns and saved view filters.
Possible 400 problem types:
com.getredo.api:return-tag/rename-precondition-failed — the source
tag does not exist, or the target name is already in use.
com.getredo.api:return-tag/invalid-request — the path name is
missing or the request body is invalid.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Store ID
"64e5a8a1af49a89df37e4ee7"
Return tag name. Case-sensitive and URL-encoded.
"Damaged"
Request body for creating, recoloring, or renaming a return tag.
Color theme used to render a tag pill in the UI.
NORMAL, PRIMARY_LIGHT, LIGHT_PINK, DANGER, NEUTRAL_YELLOW, SUCCESS, NEUTRAL_BLUE, PRIMARY, SOLID_WHITE, SOLID_PINK, SOLID_RED, SOLID_ORANGE, SOLID_YELLOW, SOLID_GREEN, SOLID_LIGHT_BLUE, SOLID_NAVY, SOLID_BLACK, BRAND, GRAY_BLUE, WHITE_SUCCESS, GRAY_ALTERNATE, BRAND_ALTERNATE, ERROR_ALTERNATE, WARNING_ALTERNATE, SUCCESS_ALTERNATE, GRAY_BLUE_ALTERNATE, BLUE_LIGHT_ALTERNATE, BLUE_ALTERNATE, INDIGO_ALTERNATE, PURPLE_ALTERNATE, PINK_ALTERNATE, ORANGE_ALTERNATE, BLACK_ALTERNATE, WHITE_ALTERNATE, WHITE_SUCCESS_ALTERNATE New name for the tag. When set and different from the path name, the tag is renamed and the change cascades to returns and saved view filters.
Success
A return tag defined for a store.