Platitun · API · Listings · Create a listing

Create a listing

POST /api/v1/listings

Key scope: listings · changes data, the Idempotency-Key header is required

A new listing. It is born SWITCHED OFF — switching on stays a separate action because that is what turns your price into a public offer you are bound to honour. The allowed field values come from the catalogue position endpoint.

A self-employed seller may only sell a subscription issued TO THE BUYER’S OWN EMAIL: ready accounts and credits are resale, which the law forbids to the self-employed. The refusal code is self_employed_forbidden.

Contact details in the description do not pass: taking the deal off the marketplace strips the buyer of protection and the seller of the guarantee.

Request fields

FieldTypeWhat it is
service requiredstringThe service slug from the catalogue.
tariffstringThe vendor plan slug. Required for a subscription and an account with a subscription.
productType requiredstringsubscription, account, account_with_subscription or credits.
deliveryMethod requiredstringThe delivery method. What fits what is in the catalogue position response.
priceRub requiredintegerThe price in whole roubles.
slaMinutes requiredintegerHow many minutes you promise to deliver within. Only from the allowed list.
guaranteeDays requiredintegerThe guarantee period in days. Only from the allowed list.
stockintegerThe stock limit. Empty — unlimited.
descriptionstringYour own product description. It also puts the listing into the sitemap: a seller benefits from describing their product.
confirmRequiredbooleanWhether your confirmation is required before payment.
ratePer1000RubintegerFor credits: the rate per thousand.
amountMinintegerFor credits: the minimum amount.
amountMaxintegerFor credits: the maximum amount.

Response fields

FieldTypeWhat it is
numberintegerThe public number of the new listing.
isActivebooleanAlways false: a listing is born switched off.
isTestbooleanA test seller’s listing is born as a test one.

Refusal reasons

A rule refusal arrives as {"error":"rejected","refusal":{"kind":"…"}} with status 409. Refusals common to all endpoints are in the rules section.

CodeWhat happened and what to do
complaintThe listing rules did not match: for instance the delivery method does not fit the product type, or a period is outside the allowed list. The allowed values come from the catalogue position endpoint.
contactsContact details were found in the text — an email, a phone number, a messenger link. Taking the deal off the marketplace strips the buyer of protection and the seller of the guarantee. Remove them and send again.
no_serviceThere is no such position in the catalogue. Find it by searching the catalogue or file a request.
type_not_availableThis position does not have such a product type. The possible types are in the catalogue position response.
no_tariffA subscription and an account with a subscription need a vendor plan. The plan list is in the catalogue position response.
self_employed_forbiddenA self-employed seller may only sell a subscription issued to the buyer’s own email: ready accounts and credits are resale, which the law forbids to the self-employed.

Nearby in this section