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.

API to update the status of products in a particular store
POST https://services.leadconnectorhq.com/products/store/{storeId}

Autorizacion

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

Path parameters

storeId
string
default:"3SwdhCu3svxI8AKsPJt6"
required
Products related to the store

Body

altId
string
default:"6578278e879ad2646715ba9c"
required
Account Id or Agency Id
altType
string
required
Posibles valores: ‘account’
action
string
default:"include"
required
Action to include or exclude the product from the store Posibles valores: ‘include’, ‘exclude’
productIds
string[]
required
Array of product IDs

Respuestas

status
boolean
default:"True"
required
Status of api action
message
string
default:"Successfully created"
Success message
{
  "status": true,
  "message": "Successfully created"
}
{}
{}
{}

Ejemplo

curl -X POST 'https://services.leadconnectorhq.com/products/store/YOUR_storeId' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
  "altId": "6578278e879ad2646715ba9c",
  "altType": "account",
  "action": "include",
  "productIds": [
    "productId1",
    "productId2"
  ]
}'