Saltar al contenido
Guías
Referencia de API
establechannel:read

Listar anuncios

GET/v1/channels/listings

Autorización

bearerAuth
AutorizaciónBearer <token>

Token de acceso OAuth 2.0 emitido por Ecomiq Auth.

Ubicación: header

Parámetros de consulta

channelId?null|string
listingType?string

Valor en

  • "salesChannel"
  • "source"
status?string

Valor en

  • "draft"
  • "publishing"
  • "active"
  • "failed"
  • "unpublished"
  • "suspended"
  • "syncError"
take?integer
Formatoint32

Cuerpo de la respuesta

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/channels/listings"
[  {    "id": "string",    "channelId": "string",    "productId": "string",    "listingType": "string",    "externalId": null,    "externalUrl": null,    "status": "string",    "price": 0.1,    "compareAtPrice": null,    "lastSyncAt": null,    "lastSyncError": null,    "lastSyncErrorCode": null,    "readinessStatus": "string",    "readinessIssues": [      {        "code": "string",        "message": "string"      }    ],    "readinessUpdatedAt": null,    "createdOn": "2019-08-24T14:15:22Z",    "updatedOn": null  }]