add supported endpoints list and update readme

This commit is contained in:
diPhantxm
2023-03-14 00:58:41 +03:00
parent a763342d11
commit 2069a368bf
3 changed files with 183 additions and 1 deletions

180
ENDPOINTS.md Normal file
View File

@@ -0,0 +1,180 @@
# Supported Endpoints
## Ozon attributes and characteristics
- [ ] Product category tree
- [ ] Category characteristics list
- [ ] Characteristics value directory
## Uploading and updating products
- [ ] Create or update a product
- [ ] Get the product import status
- [ ] Create a product by Ozon ID
- [ ] Upload and update product images
- [ ] Check products images uploading status
- [ ] List of products
- [x] Product details
- [ ] Get products' content rating by SKU
- [ ] Get a list of products by identifiers
- [ ] Get a description of the product characteristics
- [ ] Get product description
- [ ] Product range limit, limits on product creation and update
- [ ] Change product identifiers from the seller's system
- [ ] Archive a product
- [ ] Unarchive a product
- [ ] Remove a product without an SKU from the archive
- [ ] Get a list of geo-restrictions for services
- [ ] Upload activation codes for services and digital products
- [ ] Status of uploading activation codes
## Prices and Stocks
- [x] Update stocks
- [x] Update the quantity of products in stock
- [x] Information about product quantity
- [x] Stocks in seller's warehouses (FBS и rFBS)
- [x] Update prices
- [ ] Get product price information
- [ ] Get information about the markdown and the main product by the markdown product SKU
- [ ] Set a discount on a markdown product
## Promotions
- [ ] Available promotions
- [ ] Products that can participate in a promotion
- [ ] Products in a promotion
- [ ] Add products to promotion
- [ ] Remove products from promotion
- [ ] List of available Hot Sale promotions
- [ ] List of products participating in the Hot Sale promotion
- [ ] Add products to the Hot Sale promotion
- [ ] Remove product from the Hot Sale promotion
- [ ] List of discount requests
- [ ] Approve a discount request
- [ ] Decline a discount request
## Brand certificates
- [ ] List of certified brands
## Quality certificates
- [ ] List of accordance types (version 1)
- [ ] List of accordance types (version 2)
- [ ] Directory of document types
- [ ] List of certified categories
- [ ] Adding certificates for products
- [ ] Link the certificate to the product
- [ ] Delete certificate
- [ ] Certificate information
- [ ] Certificates list
- [ ] Product statuses list
- [ ] List of products associated with the certificate
- [ ] Unbind products from a certificate
- [ ] Possible certificate rejection reasons
- [ ] Possible certificate statuses
## Warehouses
- [ ] List of warehouses
- [ ] List of delivery methods for a warehouse
## Polygons
- [ ] Create delivery polygon
- [ ] Link delivery method to a delivery polygon
- [ ] Delete polygon
## FBO
- [x] Shipments list
- [ ] Shipment details
## FBS and rFBS products labeling
- [ ] Validate labeling codes
- [ ] Check and save product items data
- [ ] Get product items check statuses
- [ ] Pack the order (version 4)
## FBS and rFBS
- [x] List of unprocessed shipments (version 3)
- [x] Shipments list (version 3)
- [ ] Get shipment details by identifier (version 3)
- [ ] Get shipment data by barcode
- [ ] List of manufacturing countries
- [ ] Set the manufacturing country
- [ ] Specify number of boxes for multi-box shipments
- [ ] Get drop-off point restrictions
- [ ] Pack the order (version 3)
- [ ] Partial pack the order
- [ ] Create an acceptance and transfer certificate and a waybill
- [ ] Status of acceptance and transfer certificate and waybill
- [ ] Available freights list
- [ ] Get acceptance and transfer certificate and waybill
- [ ] Generating status of digital acceptance and transfer certificate and waybill
- [ ] Get digital shipment certificate
- [ ] Print the labeling
- [ ] Create a task to generate labeling
- [ ] Get a labeling file
- [ ] Package unit labels
- [ ] Open a dispute over a shipment
- [ ] Pass the shipment to shipping
- [ ] Shipment cancellation reasons
- [ ] Shipments cancellation reasons
- [ ] Cancel the shipment
- [ ] Add weight for bulk products in a shipment
- [ ] Cancel sending some products in the shipment
- [ ] List of shipment certificates
- [ ] Sign shipment certificates
- [ ] List of shipments in the certificate
- [ ] Change the status to "Delivering"
- [ ] Add tracking numbers
- [ ] Change the status to "Last Mile"
- [ ] Change the status to "Delivered"
- [ ] Change status to "Sent by seller"
- [ ] Dates available for delivery reschedule
- [ ] Reschedule shipment delivery date
- [ ] ETGB customs declarations
## Returns
- [ ] Get information about FBO returns (version 3)
- [ ] Get information about FBS returns
## Cancellations
- [ ] Get information about a rFBS cancellation request
- [ ] Get a list of rFBS cancellation requests
- [ ] Approve a rFBS cancellation request
- [ ] Reject a rFBS cancellation request
## Chats with customers
- [ ] Chats list
- [ ] Send message
- [ ] Send file
- [ ] Chat history
- [ ] Update chat
- [ ] Create a new chat
- [ ] Mark messages as read
## Invoices
- [ ] Create or edit proforma invoice link
- [ ] Get a proforma invoice link
- [ ] Delete the proforma invoice link
## Reports
- [ ] Report details
- [ ] Reports list
- [ ] Products report
- [ ] Prices report
- [ ] Stocks report
- [ ] Report on products movement
- [ ] Returns report
- [ ] Shipment report
- [ ] Financial report
- [ ] Issue a report on discounted products
- [ ] Report on discounted products
- [ ] List of reports on discounted products
## Analytics
- [x] Analytics data
- [x] Stocks and products report (version 2)
## Finance
- [ ] Report on sold products
- [ ] Transactions list (version 3)
- [ ] Total transactions sum
## Seller rating
- [x] Get information on current seller ratings
- [x] Get information on seller ratings for the period

View File

@@ -5,6 +5,8 @@ A Ozon API client written in Golang
Read full [documentation](https://docs.ozon.ru/api/seller/en/#tag/Introduction) Read full [documentation](https://docs.ozon.ru/api/seller/en/#tag/Introduction)
You can check [list of supported endpoints](ENDPOINTS.md)
## How to start ## How to start
Just add dependency to your project and you're ready to go. Just add dependency to your project and you're ready to go.
```bash ```bash

View File

@@ -152,7 +152,7 @@ type GetFBOShipmentsListResponse struct {
// Returns a list of shipments for a specified period of time. You can additionally filter the shipments by their status // Returns a list of shipments for a specified period of time. You can additionally filter the shipments by their status
func (c Client) GetFBOShipmentsList(params *GetFBOShipmentsListParams) (*GetFBOShipmentsListResponse, error) { func (c Client) GetFBOShipmentsList(params *GetFBOShipmentsListParams) (*GetFBOShipmentsListResponse, error) {
url := "/v1/product/import/prices" url := "/v2/posting/fbo/list"
resp := &GetFBOShipmentsListResponse{} resp := &GetFBOShipmentsListResponse{}