Skip to main content
PUT
Replace all tags on a record

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

recordType
enum<string>
required

Type of record to replace tags on

Available options:
sales-orders,
sales-order-items,
invoices,
products
recordId
integer
required

ID of the record

Body

application/json
tags
string[]
required

New set of tags to replace existing ones with

Response

Tags replaced successfully

message
string
Example:

"Tags replaced successfully"

tags
object[]