- Saved searches
- Use saved searches to filter your results more quickly
- Dakword/WBSeller
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- Saved searches
- Use saved searches to filter your results more quickly
- License
- itfrogs/wildberries
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Библиотека для работы с Wildberries API 2.10
Dakword/WBSeller
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
$wbSellerAPI = new \Dakword\WBSeller\API([ 'apikey' => 'XXX', 'statkey' => 'YYY', 'advkey' => 'ZZZ', ]); // Proxy $wbSellerAPI->useProxy('http://122.123.123.123:8088'); // API контента $contentApi = $wbSellerAPI->Content(); // API цен $pricesApi = $wbSellerAPI->Prices(); // API marketplace $marketApi = $wbSellerAPI->Marketplace(); // API скидок и промокодов $promoApi = $wbSellerAPI->Promo(); // API статистики $statApi = $wbSellerAPI->Statistics(); // API рекламы $advApi = $wbSellerAPI->Adv(); // API вопросов $questionsApi = $wbSellerAPI->Questions(); // API отзывов $fbApi = $wbSellerAPI->Feedbacks(); // Получить список НМ $result = $contentApi->getCardsList(); if (!$result->error) < var_dump($result->data->cards, $result->data->cursor); > // Информация по ценам для товаров с ненулевым остатком $info = $pricesApi->getPricesOnStock(); var_dump($info); // Cписок складов поставщика $warehouses = $wbSellerAPI->Marketplace()->Warehouses()->list(); var_dump($warehouses); // Заказы, сделанные сегодня (💡 С автоповтором запросов) $orders = $statApi->retryOnTooManyRequests(10, 1000)->ordersOnDate(new \DateTime(date('Y-m-d'))); var_dump($orders); // Создание КТ try < $createCardResult = $contentApi->createCard([ 'vendorCode' => 'A0001', 'characteristics' => [ (object) ['Предмет' => 'Платья'], (object) ['Цвет' => 'Зеленый'], ], 'sizes' => [ (object) [ 'techSize' => (string) 39, 'wbSize' => '', 'price' => (int) 3999.99, 'skus' => [ (string) 1000000001 ] ] ], ]); if ($createCardResult->error) < echo 'Ошибка создания карточки: ' . $createCardResult->errorText; > else < echo 'Запрос на создание карточки отправлен в очередь'; > > catch (\Exception $exc) < echo 'Исключение при создании карточки: ' . $exc->getMessage(); > и т.д. и т.п. (смотрим тесты)
About
Библиотека для работы с Wildberries API 2.10
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
License
itfrogs/wildberries
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
- Описание в оригинальном swagger-формате swagger
- OpenAPI-файл swagger.yaml
- Под ОС Windows — PostMan
- Под ОС Linux — curl
- 2019-06-20
- 2019-06-20T00:00:00Z
- 2019-06-20T23:59:59
- 2019-06-20T00:00:00.12345Z
- 2019-06-20T00:00:00.12345
- 2017-03-25T00:00:00
- /content/v1/cards/list
- /card/_*
- /api/v1/config/_*
- /api/v1/directory/_*
This PHP package is automatically generated by the Swagger Codegen project:
To install the bindings via Composer, add the following to composer.json :
Then run composer install
Download the files and include autoload.php :
require_once('/path/to/SwaggerClient-php/vendor/autoload.php');
composer install ./vendor/bin/phpunit
Please follow the installation procedure and then run the following:
- `2019-06-20`
- `2019-06-20T00:00:00Z`
- `2019-06-20T23:59:59`
- `2019-06-20T00:00:00.12345Z`
- `2019-06-20T00:00:00.12345`
- `2017-03-25T00:00:00`
- `2019-06-20`
- `2019-06-20T00:00:00Z`
- `2019-06-20T23:59:59`
- `2019-06-20T00:00:00.12345Z`
- `2019-06-20T00:00:00.12345`
- `2017-03-25T00:00:00`
- `2019-06-20`
- `2019-06-20T00:00:00Z`
- `2019-06-20T23:59:59`
- `2019-06-20T00:00:00.12345Z`
- `2019-06-20T00:00:00.12345`
- `2017-03-25T00:00:00`
- `2019-06-20`
- `2019-06-20T00:00:00Z`
- `2019-06-20T23:59:59`
- `2019-06-20T00:00:00.12345Z`
- `2019-06-20T00:00:00.12345`
- `2017-03-25T00:00:00`
- `2019-06-20`
- `2019-06-20T00:00:00Z`
- `2019-06-20T23:59:59`
- `2019-06-20T00:00:00.12345Z`
- `2019-06-20T00:00:00.12345`
- `2017-03-25T00:00:00`
- `2019-06-20`
- `2019-06-20T00:00:00Z`
- `2019-06-20T23:59:59`
- `2019-06-20T00:00:00.12345Z`
- `2019-06-20T00:00:00.12345`
- `2017-03-25T00:00:00`
Documentation for API Endpoints
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | apiV1SupplierExciseGoodsGet | GET /api/v1/supplier/excise-goods | Отчет по КиЗам |
DefaultApi | apiV1SupplierIncomesGet | GET /api/v1/supplier/incomes | Поставки |
DefaultApi | apiV1SupplierOrdersGet | GET /api/v1/supplier/orders | Заказы |
DefaultApi | apiV1SupplierReportDetailByPeriodGet | GET /api/v1/supplier/reportDetailByPeriod | Отчет о продажах по реализации |
DefaultApi | apiV1SupplierSalesGet | GET /api/v1/supplier/sales | Продажи |
DefaultApi | apiV1SupplierStocksGet | GET /api/v1/supplier/stocks | Склад |
DefaultApi | publicApiV1InfoGet | GET /public/api/v1/info | Получение информации о ценах. |
DefaultApi | publicApiV1PricesPost | POST /public/api/v1/prices | Загрузка цен |
MarketplaceApi | apiV2OrdersGet | GET /api/v2/orders | Список сборочных заданий |
MarketplaceApi | apiV2OrdersPut | PUT /api/v2/orders | Обновление статуса сборочных заданий |
MarketplaceApi | apiV2OrdersStickersPdfPost | POST /api/v2/orders/stickers/pdf | Cписок QR стикеров в формате pdf |
MarketplaceApi | apiV2OrdersStickersPost | POST /api/v2/orders/stickers | Cписок этикеток сборочных заданий |
MarketplaceApi | apiV2StocksDelete | DELETE /api/v2/stocks | Удаление остатков товара |
MarketplaceApi | apiV2StocksGet | GET /api/v2/stocks | Список товаров с остатками |
MarketplaceApi | apiV2StocksPost | POST /api/v2/stocks | Обновление остатков товара |
MarketplaceApi | apiV2SuppliesGet | GET /api/v2/supplies | Список поставок |
MarketplaceApi | apiV2SuppliesIdBarcodeGet | GET /api/v2/supplies//barcode | Штрихкод поставки в заданном формате |
MarketplaceApi | apiV2SuppliesIdClosePost | POST /api/v2/supplies//close | Закрытие поставки |
MarketplaceApi | apiV2SuppliesIdOrdersGet | GET /api/v2/supplies//orders | Список заказов, закреплённых за поставкой |
MarketplaceApi | apiV2SuppliesIdPut | PUT /api/v2/supplies/ | Добавление к поставке заказов |
MarketplaceApi | apiV2SuppliesPost | POST /api/v2/supplies | Новая поставка |
MarketplaceApi | apiV2WarehousesGet | GET /api/v2/warehouses | Cписок складов |
_Api | contentV1BarcodesPost | POST /content/v1/barcodes | Генерация баркодов |
_Api | contentV1CardsCursorListPost | POST /content/v1/cards/cursor/list | Список НМ v2 |
_Api | contentV1CardsErrorListGet | GET /content/v1/cards/error/list | Список несозданных НМ с ошибками |
_Api | contentV1CardsFilterPost | POST /content/v1/cards/filter | Получение КТ по вендор кодам (артикулам) |
_Api | contentV1CardsUpdatePost | POST /content/v1/cards/update | Редактирование КТ |
_Api | contentV1CardsUploadAddPost | POST /content/v1/cards/upload/add | Добавление НМ к КТ |
_Api | contentV1CardsUploadPost | POST /content/v1/cards/upload | Создание КТ |
_Api | contentV1DirectoryBrandsGet | GET /content/v1/directory/brands | Бренд |
_Api | contentV1DirectoryCollectionsGet | GET /content/v1/directory/collections | Коллекция |
_Api | contentV1DirectoryColorsGet | GET /content/v1/directory/colors | Цвет |
_Api | contentV1DirectoryConsistsGet | GET /content/v1/directory/consists | Состав |
_Api | contentV1DirectoryContentsGet | GET /content/v1/directory/contents | Комплектация |
_Api | contentV1DirectoryCountriesGet | GET /content/v1/directory/countries | Страна Производства |
_Api | contentV1DirectoryKindsGet | GET /content/v1/directory/kinds | Пол |
_Api | contentV1DirectorySeasonsGet | GET /content/v1/directory/seasons | Сезон |
_Api | contentV1DirectoryTnvedGet | GET /content/v1/directory/tnved | ТНВЭД код |
_Api | contentV1MediaFilePost | POST /content/v1/media/file | Добавление медиа контента в КТ |
_Api | contentV1MediaSavePost | POST /content/v1/media/save | Изменение медиа контента КТ |
_Api | contentV1ObjectAllGet | GET /content/v1/object/all | Категория товаров |
_Api | contentV1ObjectCharacteristicsListFilterGet | GET /content/v1/object/characteristics/list/filter | Характеристики для создания КТ по всем подкатегориям |
_Api | contentV1ObjectCharacteristicsObjectNameGet | GET /content/v1/object/characteristics/ | Характеристики для создания КТ для категории товара |
_Api | contentV1ObjectParentAllGet | GET /content/v1/object/parent/all | Родительские категории товаров |
_Api | publicApiV1RevokeDiscountsPost | POST /public/api/v1/revokeDiscounts | Сброс скидок для номенклатур |
_Api | publicApiV1RevokePromocodesPost | POST /public/api/v1/revokePromocodes | Сброс промокодов для номенклатур |
_Api | publicApiV1UpdateDiscountsPost | POST /public/api/v1/updateDiscounts | Установка скидок |
_Api | publicApiV1UpdatePromocodesPost | POST /public/api/v1/updatePromocodes | Установка промокодов для номенклатур |
- Apiv2ordersSgtin
- CardsFilterBody
- CardsUpdateBody
- Contentv1cardscursorlistSort
- Contentv1cardscursorlistSortCursor
- Contentv1cardscursorlistSortFilter
- Contentv1cardscursorlistSortSort
- Contentv1cardsupdateSizes
- Contentv1cardsuploadaddCards
- Contentv1cardsuploadaddSizes
- CursorListBody
- DeliveryAddressDetails
- DetailReportItem
- ExcItem
- IncomesItem
- InlineResponse200
- InlineResponse2001
- InlineResponse20010
- InlineResponse20010Data
- InlineResponse20011
- InlineResponse20011Data
- InlineResponse20012
- InlineResponse20013
- InlineResponse20013Data
- InlineResponse20014
- InlineResponse20014Data
- InlineResponse20015
- InlineResponse20016
- InlineResponse20016Data
- InlineResponse20017
- InlineResponse20017Data
- InlineResponse20018
- InlineResponse20019
- InlineResponse20019Data
- InlineResponse2002
- InlineResponse20020
- InlineResponse20020Supplies
- InlineResponse20021
- InlineResponse20022
- InlineResponse20022Orders
- InlineResponse20023
- InlineResponse20023Stocks
- InlineResponse20024
- InlineResponse20024Data
- InlineResponse20024DataError
- InlineResponse20025
- InlineResponse20025Data
- InlineResponse20026
- InlineResponse20027
- InlineResponse20027Orders
- InlineResponse20028
- InlineResponse20028Data
- InlineResponse20028Sticker
- InlineResponse20028StickerWbStickerIdParts
- InlineResponse20029
- InlineResponse20029Data
- InlineResponse2003
- InlineResponse2003Data
- InlineResponse2003DataCards
- InlineResponse2003DataCursor
- InlineResponse2003DataSizes
- InlineResponse2004
- InlineResponse2004Data
- InlineResponse2005
- InlineResponse2005Data
- InlineResponse2005Sizes
- InlineResponse2006
- InlineResponse2007
- InlineResponse2007Data
- InlineResponse2008
- InlineResponse2008Data
- InlineResponse2009
- InlineResponse2009Data
- InlineResponse201
- InlineResponse400
- InlineResponse4001
- InlineResponse409
- MediaFileBody
- MediaSaveBody
- OrdersItem
- RequestBodyStickers
- RespBodyStocks
- ResponseBodyError400
- ResponseBodyError403
- ResponseBodyStickersError
- SalesItem
- StocksItem
- SuppliesIdBody
- SuppliesIdRespBody
- SuppliesIdRespBody2
- SuppliesIdRespBody2Data
- UploadAddBody
- UserInfo
- V1BarcodesBody
- V1PricesBody
- V2OrdersBody
- V2StocksBody
- V2StocksBody1
Documentation For Authorization
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header