Zum Hauptinhalt springen
PUT
/
crm
/
v3
/
lists
/
{listId}
/
schedule-conversion
Programmer ou mettre à jour la conversion d'une liste en une liste statique
curl --request PUT \
  --url https://api.hubapi.com/crm/v3/lists/{listId}/schedule-conversion \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "conversionType": "CONVERSION_DATE",
  "day": 123,
  "month": 123,
  "year": 123
}'
{
  "convertedAt": "2023-11-07T05:31:56Z",
  "listId": "<string>",
  "requestedConversionTime": {
    "conversionType": "CONVERSION_DATE",
    "day": 123,
    "month": 123,
    "year": 123
  }
}

Produits pris en charge

Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing Hub -Starter
Sales HubSales Hub -Gratuit
Service HubService Hub -Gratuit
Content HubContent Hub -Starter
Cette API requiert l'une des portées suivantes :
cms.membership.access_groups.write
crm.lists.read
crm.lists.read
crm.lists.write

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

listId
string
required

L'ID de la liste pour laquelle la conversion doit être programmée.

Body

application/json
  • CONVERSION_DATE
  • INACTIVITY
conversionType
enum<string>
default:CONVERSION_DATE
required
Verfügbare Optionen:
CONVERSION_DATE
day
integer
required
month
integer
required
year
integer
required

Response

successful operation

listId
string
required
convertedAt
string<date-time>
requestedConversionTime
object
  • CONVERSION_DATE
  • INACTIVITY