Create several listings
const url = 'https://acme.mykreezalid.com/api/v1/listings/bulk';const options = { method: 'POST', headers: {Authorization: 'Basic <credentials>', 'Content-Type': 'application/json'}, body: '[{"admin_status":"waiting","attributes":{"color":"Blue","material":"Leather"},"category_id":432432,"city":"New York City","country":"US","currency":"USD","description":"<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla dignissim laoreet sem, quis mollis elit rutrum a. Donec nunc urna, rhoncus in sagittis ut, elementum scelerisque libero. Quisque interdum nibh nisl, non gravida nibh molestie quis. Phasellus nunc nunc, luctus a luctus ac, iaculis sit amet turpis.</p><p>Phasellus tortor orci, posuere in mi at, blandit ullamcorper tellus. Proin vel sem aliquam, faucibus dolor quis, dictum leo. Aliquam consectetur massa at ipsum auctor, at mattis nunc porttitor. Suspendisse potenti. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>","external_id":"INTERNAL_REF_234324","is_online":true,"lat":40.7572114,"lng":-73.9913385,"location":"253 W 42nd St, New York, NY 10036, United States","min_qty":1,"medias":[{"object":"Media","id":4242,"alt":"example","position":0,"media_type":"image","src":"https://example.com"}],"images":["https://example.com/photo-front.jpg","https://example.com/photo-back.jpg"],"order_type_id":986545,"order_type_url_token":"example","original_price":150,"on_homepage":false,"price":123.5,"quantity":43,"quantity_selector":null,"requires_shipping":true,"sku":"SKU_123","slug":"listing-s-slug","state":"NY","status":"draft","owner":{"external_id":"ABCdef123456","account_type":"individual","address_city":"New-York City","address_country":"US","address_line1":"253 W 42nd St","address_line2":null,"address_state":"NY","address_zipcode":"10036","attributes":{"profession":"Web developer"},"avatar":"example","birthday":"1990-05-17","business_name":"ACME","email":"jane@example.com","first_name":"Jane","group":{"name":"VIP Customers"},"group_id":784568,"lang":"en","last_name":"Doe","nationality":"US","phone_country_code":"+1","phone_number":"212-398-2600","identity_status":"not_completed","timezone":"America/New_York","username":"janedoe"},"user_id":655785,"title":"Blue leather shoes","variants":[{"external_id":"INTERNAL_REF_234324","price":123.5,"price_unit":null,"quantity":10,"sort_priority":10,"sku":"BASKT-XYZ-BLN-41","title":"Blue Shoes Size 41","weight":0.8,"cover_id":4242}],"visibility":"both","weight":0.8,"weight_unit":"kg"}]'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://acme.mykreezalid.com/api/v1/listings/bulk \ --header 'Authorization: Basic <credentials>' \ --header 'Content-Type: application/json' \ --data '[ { "admin_status": "waiting", "attributes": { "color": "Blue", "material": "Leather" }, "category_id": 432432, "city": "New York City", "country": "US", "currency": "USD", "description": "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla dignissim laoreet sem, quis mollis elit rutrum a. Donec nunc urna, rhoncus in sagittis ut, elementum scelerisque libero. Quisque interdum nibh nisl, non gravida nibh molestie quis. Phasellus nunc nunc, luctus a luctus ac, iaculis sit amet turpis.</p><p>Phasellus tortor orci, posuere in mi at, blandit ullamcorper tellus. Proin vel sem aliquam, faucibus dolor quis, dictum leo. Aliquam consectetur massa at ipsum auctor, at mattis nunc porttitor. Suspendisse potenti. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>", "external_id": "INTERNAL_REF_234324", "is_online": true, "lat": 40.7572114, "lng": -73.9913385, "location": "253 W 42nd St, New York, NY 10036, United States", "min_qty": 1, "medias": [ { "object": "Media", "id": 4242, "alt": "example", "position": 0, "media_type": "image", "src": "https://example.com" } ], "images": [ "https://example.com/photo-front.jpg", "https://example.com/photo-back.jpg" ], "order_type_id": 986545, "order_type_url_token": "example", "original_price": 150, "on_homepage": false, "price": 123.5, "quantity": 43, "quantity_selector": null, "requires_shipping": true, "sku": "SKU_123", "slug": "listing-s-slug", "state": "NY", "status": "draft", "owner": { "external_id": "ABCdef123456", "account_type": "individual", "address_city": "New-York City", "address_country": "US", "address_line1": "253 W 42nd St", "address_line2": null, "address_state": "NY", "address_zipcode": "10036", "attributes": { "profession": "Web developer" }, "avatar": "example", "birthday": "1990-05-17", "business_name": "ACME", "email": "jane@example.com", "first_name": "Jane", "group": { "name": "VIP Customers" }, "group_id": 784568, "lang": "en", "last_name": "Doe", "nationality": "US", "phone_country_code": "+1", "phone_number": "212-398-2600", "identity_status": "not_completed", "timezone": "America/New_York", "username": "janedoe" }, "user_id": 655785, "title": "Blue leather shoes", "variants": [ { "external_id": "INTERNAL_REF_234324", "price": 123.5, "price_unit": null, "quantity": 10, "sort_priority": 10, "sku": "BASKT-XYZ-BLN-41", "title": "Blue Shoes Size 41", "weight": 0.8, "cover_id": 4242 } ], "visibility": "both", "weight": 0.8, "weight_unit": "kg" } ]'Creates several listings in one call. Send a JSON array of listings; each one follows the rules of Create listing. Required fields: user_id (the vendor), title, description, price (not zero) and the category (category_id, or category with an id or the title of an existing category). Unless you send them, status is published and admin_status approved, or draft and blocked when is_online is 0; visibility defaults to both. When you send status, the listing is still created as published. Nested fields can be sent with dotted keys, for example attributes.color. Each listing is created on its own: one failure does not stop the others. responses holds one result per listing, in the order you sent them. The HTTP status is 200 even when some listings failed.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”A listing (product or service) of your marketplace. Read-only fields are returned in responses; write-only fields are only accepted when you create or update a listing.
object
Listing’s unique identifier
Example
645646Example
ListingAdmin validation status of the listing: waiting (awaiting approval), approved (visible if the status is also published), rejected or blocked (hidden from the marketplace). On creation it defaults to approved, or to blocked when is_online is 0.
Example
approvedValues of the listing attributes, keyed by attribute alias (see List listing attributes). When writing, a select or checkbox attribute accepts option identifiers or option titles (several values as an array or separated by ##); a title that matches no existing option creates that option. Unknown aliases are ignored.
object
Example
{ "color": "Blue", "material": "Leather"}Add-ons of the listing, null when there are none
An extra product or service a buyer can add to a listing, such as gift wrapping or an extended warranty.
object
Add-on’s unique identifier
Example
4242Example
AddonUnique identifier of the listing the add-on belongs to
Example
324353Example
Extended WarrantyExample
Protect your purchases beyond the standard warranty periodPrice of the add-on, with up to two decimal places
Example
12.5Address of the listing, grouped
object
Category of the listing. On write you can also send category with an id, or with a title matching an existing category, instead of category_id.
object
Example
CategoryExample
4242Example
ShoesExample
shoesExample
/c/shoesUnique identifier of the listing’s category. Required on creation.
Example
432432Example
New York CityExample
USURL of the cover image
Example
USDDate the listing went online
Example
2026-10-01 09:30:00Description of the listing. Required on creation. HTML you send is converted to plain text.
Example
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla dignissim laoreet sem, quis mollis elit rutrum a. Donec nunc urna, rhoncus in sagittis ut, elementum scelerisque libero. Quisque interdum nibh nisl, non gravida nibh molestie quis. Phasellus nunc nunc, luctus a luctus ac, iaculis sit amet turpis.</p><p>Phasellus tortor orci, posuere in mi at, blandit ullamcorper tellus. Proin vel sem aliquam, faucibus dolor quis, dictum leo. Aliquam consectetur massa at ipsum auctor, at mattis nunc porttitor. Suspendisse potenti. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p>Your own reference for the listing
Example
INTERNAL_REF_234324Price formatted for display, with its currency and price unit; may contain HTML
Example
$123.50Set to 0 on creation to create the listing as a draft, blocked by an admin, unless you send status or admin_status yourself.
Example
trueExample
40.7572114Example
-73.9913385Example
253 W 42nd St, New York, NY 10036, United StatesMinimum quantity a buyer must order
Example
1Logistic category of the listing
object
Example
LogisticCategoryExample
4242Images attached to the listing, as returned in responses, null when there are none. On create and update this name is also accepted as an alias of images and takes the same value, a list of image URLs; if both are sent, images wins. Prefer images when writing — the alias exists so that posting back the field name you read does not fail silently.
object
Example
MediaExample
4242Example
0Example
imageImages to attach to the listing, as a JSON array of publicly reachable image URLs; a single URL on its own is accepted too. Each URL is downloaded server-side and re-uploaded to our own storage, so the source only needs to stay reachable for the duration of the request; the stored copy is returned in medias. The order of the array is the display order. On update, sending images replaces the whole set, so any existing image you want to keep must be sent again. Omit the field to leave the current images untouched. medias is accepted as an alias of this field.
Example
[ "https://example.com/photo-front.jpg", "https://example.com/photo-back.jpg"]Unique identifier of the listing’s order type (see List order types). On creation, when it is missing or unknown, the first available order type is used.
Example
986545URL token of an order type (see List order types), as an alternative to order_type_id
Order type of the listing
object
Example
OrderTypeExample
4242Example
SaleExample
sellingPrice before discount
Example
150Whether the listing is shown on the homepage
Example
falsePrice of the listing. Required (and not zero) on creation.
Example
123.5Title of the price unit, for example per night
Example
nullExample
$123.50Quantity available for sale
Example
43Example
nullExample
trueExample
SKU_123Shipping methods selected for the listing
object
Example
1Example
fed_exExample
4.95Example
4Example
0.95Example
FedExExample
listing-s-slugExample
NYPublic status of the listing: draft, published (visible) or archived (hidden). On creation, a listing is created as published, or as a draft when is_online is 0 and no status is sent.
Example
publishedA member of your marketplace, customer or vendor, as the Admin API returns it.
object
User’s unique identifier
Example
545353Example
UserYour own identifier for this user
Example
ABCdef123456Example
individualExample
New-York CityTwo-letter country code
Example
USExample
253 W 42nd StExample
nullExample
NYExample
10036Values of the user’s custom profile fields
object
Example
{ "profession": "Web developer"}Absolute URL of the profile image
Example
1990-05-17Company or organization name
Example
ACMEWhether the user’s group may publish listings
Whether the user’s group goes through onboarding
Company details. Absent when account_type is individual.
object
Example
CompanyExample
ACMECompany registration number
Sign-up date, YYYY-MM-DD HH:MM:SS
Example
2024-03-18 09:41:05Example
jane@example.comExample
Janeobject
Group’s unique identifier
Example
784568Example
VIP CustomersExample
vip-customersIdentifier of the user’s group. Deprecated in responses: read group.id.
Example
784568Read group.name.
Read group.alias.
Language code
Example
enExample
DoeNumber of the user’s listings
Example
12Number of the user’s listings, whatever their status
Example
14Same value as lang
Example
enThe user’s metafields, when they are loaded; null otherwise
A custom value you attach to a resource, identified by its namespace and title.
object
Group the metafield belongs to
Example
erpName of the metafield, unique within its namespace
Example
warehouse_codeValue of the metafield. Usually a string; it can be returned as a number or a JSON value depending on how the metafield was defined.
Example
WH-42Two-letter country code
Example
USAverage rating from the reviews the user received
Example
4.5Example
+1Example
212-398-2600Absolute URL of the user’s public profile
Example
https://acme.mykreezalid.com/shop/a1b2c3d/jane-doeName shown publicly, following your display settings
Example
Jane DoeAccount status
Whether the user completed their identity details
Number of reviews the user received
Example
3Example
America/New_YorkExample
janedoeA member of your marketplace, customer or vendor, as the Admin API returns it.
object
User’s unique identifier
Example
545353Example
UserYour own identifier for this user
Example
ABCdef123456Example
individualExample
New-York CityTwo-letter country code
Example
USExample
253 W 42nd StExample
nullExample
NYExample
10036Values of the user’s custom profile fields
object
Example
{ "profession": "Web developer"}Absolute URL of the profile image
Example
1990-05-17Company or organization name
Example
ACMEWhether the user’s group may publish listings
Whether the user’s group goes through onboarding
Company details. Absent when account_type is individual.
object
Example
CompanyExample
ACMECompany registration number
Sign-up date, YYYY-MM-DD HH:MM:SS
Example
2024-03-18 09:41:05Example
jane@example.comExample
Janeobject
Group’s unique identifier
Example
784568Example
VIP CustomersExample
vip-customersIdentifier of the user’s group. Deprecated in responses: read group.id.
Example
784568Read group.name.
Read group.alias.
Language code
Example
enExample
DoeNumber of the user’s listings
Example
12Number of the user’s listings, whatever their status
Example
14Same value as lang
Example
enThe user’s metafields, when they are loaded; null otherwise
A custom value you attach to a resource, identified by its namespace and title.
object
Group the metafield belongs to
Example
erpName of the metafield, unique within its namespace
Example
warehouse_codeValue of the metafield. Usually a string; it can be returned as a number or a JSON value depending on how the metafield was defined.
Example
WH-42Two-letter country code
Example
USAverage rating from the reviews the user received
Example
4.5Example
+1Example
212-398-2600Absolute URL of the user’s public profile
Example
https://acme.mykreezalid.com/shop/a1b2c3d/jane-doeName shown publicly, following your display settings
Example
Jane DoeAccount status
Whether the user completed their identity details
Number of reviews the user received
Example
3Example
America/New_YorkExample
janedoeA member of your marketplace, customer or vendor, as the Admin API returns it.
object
User’s unique identifier
Example
545353Example
UserYour own identifier for this user
Example
ABCdef123456Example
individualExample
New-York CityTwo-letter country code
Example
USExample
253 W 42nd StExample
nullExample
NYExample
10036Values of the user’s custom profile fields
object
Example
{ "profession": "Web developer"}Absolute URL of the profile image
Example
1990-05-17Company or organization name
Example
ACMEWhether the user’s group may publish listings
Whether the user’s group goes through onboarding
Company details. Absent when account_type is individual.
object
Example
CompanyExample
ACMECompany registration number
Sign-up date, YYYY-MM-DD HH:MM:SS
Example
2024-03-18 09:41:05Example
jane@example.comExample
Janeobject
Group’s unique identifier
Example
784568Example
VIP CustomersExample
vip-customersIdentifier of the user’s group. Deprecated in responses: read group.id.
Example
784568Read group.name.
Read group.alias.
Language code
Example
enExample
DoeNumber of the user’s listings
Example
12Number of the user’s listings, whatever their status
Example
14Same value as lang
Example
enThe user’s metafields, when they are loaded; null otherwise
A custom value you attach to a resource, identified by its namespace and title.
object
Group the metafield belongs to
Example
erpName of the metafield, unique within its namespace
Example
warehouse_codeValue of the metafield. Usually a string; it can be returned as a number or a JSON value depending on how the metafield was defined.
Example
WH-42Two-letter country code
Example
USAverage rating from the reviews the user received
Example
4.5Example
+1Example
212-398-2600Absolute URL of the user’s public profile
Example
https://acme.mykreezalid.com/shop/a1b2c3d/jane-doeName shown publicly, following your display settings
Example
Jane DoeAccount status
Whether the user completed their identity details
Number of reviews the user received
Example
3Example
America/New_YorkExample
janedoeUnique identifier of the vendor (user) who owns the listing. Required on creation.
Example
655785Title of the listing. Required on creation.
Example
Blue leather shoesFull URL of the listing page on your marketplace
Variants of the listing, null when there are none. On update, send the full list: each variant is matched to an existing one by external_id, then by sku; a variant with no match is created, and every existing variant missing from the list is deleted.
A version of a listing that differs by size, color or any other characteristic, with its own price, SKU and stock.
object
Variant’s unique identifier
Example
432432Example
VariantYour own reference for the variant
Example
INTERNAL_REF_234324Unique identifier of the listing the variant belongs to
Example
324353Example
123.5Example
nullThe quantity of the variant that is available for sale
Example
10Sorts the variants with the lowest number first. Negative numbers are allowed.
Example
10Example
BASKT-XYZ-BLN-41Example
Blue Shoes Size 41Example
0.8Unique identifier of the listing image used for this variant
Example
4242Where the listing is displayed: both (catalog and search), catalog (only the catalog), search (only search results) or none (not visible). Defaults to both on creation.
Example
bothExample
0.8Example
kgMetafields of the listing, grouped by namespace then by title
object
Example
{ "erp": { "warehouse_code": "WH-42" }}Date of the next availability, for listings that have one
Settings the listing inherits from its order type, such as whether payment, shipping or stock are enabled
object
Responses
Section titled “Responses”One result per listing sent
object
object
Identifier of the new listing, null on failure
Listing created, or the reason of the failure
Example
{ "responses": [ { "id": 4242, "success": true, "message": "Listing created" } ]}Missing or wrong API credentials