Skip to main content
POST
/
crm
/
v3
/
objects
/
carts
/
search
Buscar carritos utilizando los criterios especificados y devolver los resultados coincidentes.
curl --request POST \
  --url https://api.hubapi.com/crm/v3/objects/carts/search \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "<string>",
  "limit": 123,
  "after": "<string>",
  "sorts": [
    "<string>"
  ],
  "properties": [
    "<string>"
  ],
  "filterGroups": [
    {
      "filters": [
        {
          "highValue": "<string>",
          "propertyName": "<string>",
          "values": [
            "<string>"
          ],
          "value": "<string>",
          "operator": "EQ"
        }
      ]
    }
  ]
}'
{
  "total": 123,
  "paging": {
    "next": {
      "after": "NTI1Cg%3D%3D",
      "link": "?after=NTI1Cg%3D%3D"
    },
    "prev": {
      "before": "<string>",
      "link": "<string>"
    }
  },
  "results": [
    {
      "archived": false,
      "createdAt": "2019-10-30T03:30:17.883Z",
      "id": "512",
      "properties": {
        "property_checkbox": "false",
        "property_date": "1572480000000",
        "property_dropdown": "choice_b",
        "property_multiple_checkboxes": "chocolate;strawberry",
        "property_number": "17",
        "property_radio": "option_1",
        "property_string": "value"
      },
      "updatedAt": "2019-12-07T16:50:06.678Z"
    }
  ]
}

Productos compatibles

Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing Hub -Gratuito
Sales HubSales Hub -Gratuito
Service HubService Hub -Gratuito
Content HubContent Hub -Gratuito
Esta API requiere uno de los siguientes ámbitos:
crm.objects.carts.read

Authorizations

Authorization
string
header
required

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

Path Parameters

objectType
string
required

El tipo de objeto que se buscará.

Body

application/json

Describes a search request

limit
integer
required

The maximum results to return, up to 200 objects.

after
string
required

A paging cursor token for retrieving subsequent pages.

sorts
string[]
required

Specifies sorting order based on object properties.

properties
string[]
required

A list of property names to include in the response.

filterGroups
object[]
required

Up to 6 groups of filters defining additional query criteria.

query
string

The search query string, up to 3000 characters.

Response

successful operation

total
integer
required

The number of available results

results
object[]
required
paging
object