/marketplaces/
- This endpoint of the Lengow API allows you to display the complete list of possible actions authorized by a marketplace.
- It also gives access to the list of authorized carriers by the marketplace
- You can also see the list of authorized statuses by the marketplace
Use the &marketplace parameter to call a specific marketplace.
Example: /marketplaces/?marketplace=laredoute
-- example with Laredoute marketplace --
-- action "ship" --
{
"laredoute": {
"logo": null,
"name": "LaRedoute",
"orders": {
"status": {
"refused": [
"Refused"
],
"shipped": [
"Shipped"
],
"accepted": [
"Accepted"
],
"canceled": [
"Cancelled",
"OutOfStock"
],
"refunded": [
"Refunded"
],
"refunding": [
"Refunding"
],
"waiting_shipment": [
"ToShip"
],
"waiting_acceptance": [
"Created"
]
},
"actions": {
"ship": {
"args": [
"carrier",
"tracking_number"
],
"status": [
"waiting_shipment"
],
"optional_args": [
"line",
"tracking_url"
],
"args_description": {
"line": {
"type": "line_number",
"valid_values": {},
"default_value": null,
"accept_free_values": true
},
"carrier": {
"type": "string",
"valid_values": {},
"default_value": "",
"accept_free_values": true
},
"tracking_url": {
"type": "string",
"valid_values": {},
"default_value": null,
"accept_free_values": true
},
"tracking_number": {
"type": "string",
"valid_values": {},
"default_value": null,
"accept_free_values": true
}
}
},
How to read this?
Example with this extract:
"actions":
{ "ship":
{ "args": [ "carrier", "tracking_number" ],
"status": [ "waiting_shipment" ],
"optional_args": [ "line", "tracking_url" ],
This means La Redoute enables the "ship" action, but this action will be valid ONLY IF:
- if the "carrier" and "tracking_number" parameters are completed as they are mandatory.
- if the order is in the "waiting_shipment" status.
List of marketplaces
The /marketplaces/ list shows the denomination of each marketplace in the Lengow API. For your convenience, find also the list below.
To make your API calls, make sure to use the correct value as written (including the relevant country when applicable).
aliexpress_cn
aliexpress_es
aliexpress_fr
aliexpress_it
aliexpress_ru
aliexpress_uk
allegro_pl
amazon_au
amazon_ca
amazon_de
amazon_es
amazon_flatfile_au
amazon_flatfile_ca
amazon_flatfile_de
amazon_flatfile_es
amazon_flatfile_fr
amazon_flatfile_it
amazon_flatfile_mx
amazon_flatfile_nl
amazon_flatfile_uk
amazon_fr
amazon_it
amazon_mx
amazon_nl
amazon_uk
amazon_us
atlasformen
auchan
bhv
bol
bol_be
boulanger
brandalley
bricomarche
but_mirakl
carrefour_es
carrefour_fr
cdiscount
colizey_fr
conforama
darty
decathlon_es
decathlon_eu_be_fr
distriartisan
ebay_at
ebay_au
ebay_befr
ebay_benl
ebay_ca
ebay_cafr
ebay_ch
ebay_de
ebay_es
ebay_fr
ebay_it
ebay_uk
ebay_us
elcorteingles
eleclerc
eprice
fnac_be
fnac_es
fnac_fr
fnac_pt
fnac_darty (to use for new darty)
fruugo_uk
galeries_lafayette
google_gr
google_jp
google_tw
google_uk
gosport_mirakl
greenweez_fr
harveynichols
ibs
idealo
inno_be_fr
inno_be_nl
intermarche
joom
joom_de
laposte
laredoute
laredoute_mirakl
ldlc
leroymerlin
macif
macway
maisonsdumonde
manomano_de
manomano_es
manomano_fr
manomano_fr_b2
manomano_it
manomano_uk
manor_ch_de
manor_ch_en
manor_ch_fr
manor_ch_it
maty
natdec
onbuy_uk
otto
pccomponentes
petch
priceminister
privalia_pink_es
privalia_pink_it
real_de
ricardo
rueducommerce
sarenza_fr
secretsales
showroomprive_fr
spareka_fr
spartoo_be
spartoo_cz
spartoo_de
spartoo_dk
spartoo_en
spartoo_es
spartoo_fi
spartoo_fr
spartoo_gr
spartoo_hu
spartoo_it
spartoo_nl
spartoo_pl
spartoo_pt
spartoo_se
spartoo_sk
thunderstone_fr
ubaldi
veepee_pink_fr
venca
wish
worten_es
worten_pt
yoox_eu
youkado_fr
zalando_at
zalando_be_fr
zalando_be_nl
zalando_ch_de
zalando_ch_fr
zalando_de
zalando_dk
zalando_es
zalando_fi
zalando_fr
zalando_it
zalando_nl
zalando_no
zalando_pl
zalando_se
zalando_uk
zalando (to be used only for the Zalando multi-country sales channel)