upsertTags
POST
/v2/woocommerce/import-tags
const url = 'https://api-crm-staging.divinea.com/api/v2/woocommerce/import-tags';const options = {method: 'POST', headers: {APIKey: '<APIKey>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api-crm-staging.divinea.com/api/v2/woocommerce/import-tags \ --header 'APIKey: <APIKey>'Authorizations
Sezione intitolata “Authorizations”Parameters
Sezione intitolata “Parameters”Query Parameters
Sezione intitolata “Query Parameters”email
string
tags
string
Tags
type
string
Type
wineryId
string
Winery ID
Responses
Sezione intitolata “Responses”Created
Media type*/*
Array<object>
Tagobject
conditionType
string
contactMatcherType
ContactMatcherType
object
id
string
nameEn
string
nameIt
string
createdAt
string format: date-time
deletedAt
string format: date-time
description
string
id
integer format: int64
manual
boolean
name
string
otherExistingTagTypology
string
predefined
boolean
targetTypology
string
type
string
updatedAt
string format: date-time
values
Array<object>
TagValueobject
contactMatcherOperator
ContactMatcherOperator
object
contactMatcher
ContactMatcher
object
className
string
contactMatcherOperators
Array<object>
ContactMatcherOperatorobject
contactMatcher
object recursive
contactMatcherId
integer format: int64
createdAt
string format: date-time
id
integer format: int64
operator
Operator
object
createdAt
string format: date-time
id
integer format: int64
nameEn
string
nameIt
string
updatedAt
string format: date-time
value
string
updatedAt
string format: date-time
createdAt
string format: date-time
id
integer format: int64
nameEn
string
nameIt
string
updatedAt
string format: date-time
contactMatcherId
integer format: int64
createdAt
string format: date-time
id
integer format: int64
operator
Operator
object
createdAt
string format: date-time
id
integer format: int64
nameEn
string
nameIt
string
updatedAt
string format: date-time
value
string
updatedAt
string format: date-time
createdAt
string format: date-time
id
integer format: int64
stringValue
string
updatedAt
string format: date-time
value
integer format: int64
winery
Winery
object
createdAt
string format: date-time
id
string format: uuid
name
string
updatedAt
string format: date-time