Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt

Use this file to discover all available pages before exploring further.

Create a new Product Collection for a specific account
POST https://services.leadconnectorhq.com/products/collections

Autorizacion

Authorization
string
required
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.

Body

altId
string
default:"6578278e879ad2646715ba9c"
required
Account Id
altType
string
default:"LOCATION"
required
The type of alt. For now it is only LOCATION Posibles valores: ‘account’
collectionId
string
default:"66057f9d28536eae584ec047"
Unique Identifier of the Product Collection, Mongo Id
name
string
default:"Best Sellers"
required
Name of the Product Collection
slug
string
default:"best-sellers"
required
Slug of the Product Collection which helps in navigation
image
string
default:"http://example.com/watermark.png"
The URL of the image that is going to be displayed as the collection Thumbnail
seo
object
The metadata information which will be displayed in SEO previews

Respuestas

data
object
required
created Collection
{}
{}
{}
{}

Ejemplo

curl -X POST 'https://services.leadconnectorhq.com/products/collections' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
  "altId": "6578278e879ad2646715ba9c",
  "altType": "LOCATION",
  "collectionId": "66057f9d28536eae584ec047",
  "name": "Best Sellers",
  "slug": "best-sellers",
  "image": "http://example.com/watermark.png"
}'