Przejdź do głównej zawartości

Wyszukaj produkty w katalogu Allegro

POST
/api/Products/SearchProducts
curl --request POST \
--url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/Products/SearchProducts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "connectionId": "example", "phrase": "example", "mode": "ALL" }'

Wyszukuje produkty w katalogu Allegro po GTIN, MPN, nazwie lub parametrach – przydatne przy dopasowaniu oferty do produktu Allegro.

object
connectionId
wymagane

SMERP ID of the Allegro marketplace connection

string
phrase
wymagane

Phrase to be used for the search operation. Usually ALL is used, but can be changed using the Mode property

string
mode

Mode for the search to be used. If not sure what mode sure be used set ALL then we will search by GTIN, MPN, product’s name, parameters, etc.

string
Dozwolone wartości: ALL GTIN MPN

OK

object
status
wymagane
string
Dozwolone wartości: Found NotFound
products
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
category
wymagane
object
id
wymagane
string
path
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
similar
wymagane
Array<object>
object
id
wymagane
string
path
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
parameters
wymagane
Array<object>
object
id
wymagane
string
name
wymagane
string
valuesLabels
Array<string>
nullable
valuesIds
Array<string>
nullable
values
Array<string>
nullable
unit
wymagane
string
options
object
identifiesProduct
wymagane
boolean
isGTIN
boolean
nullable
images
wymagane
Array<object>
object
url
wymagane
string
description
wymagane
object
sections
wymagane
Array<object>
object
items
wymagane
Array<object>
object
type
wymagane
string
content
string
nullable
url
string
nullable
publication
wymagane
object
status
wymagane
string
isDraft
wymagane
boolean

Not Found

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties