Returns
Upsert Return Tag
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 pathnameis missing or the request body is invalid.
Requires the returns_write scope.
PUT
Upsert Return Tag
Authorizations
Path Parameters
Body
application/json
Request body for creating, recoloring, or renaming a return tag.
Color theme used to render a tag pill in the UI.
Available options:
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