Skip to content

Commit eaf45ee

Browse files
author
Ghost Gopher
committed
upd: minor edits
1 parent 03df90f commit eaf45ee

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

internal/seller/api.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ type (
3131
}
3232
)
3333

34-
// NewDefault Clean returns the shortest path name equivalent to path
35-
// [Lexical File Names in Plan 9]: https://9p.io/sys/doc/lexnames.html
3634
func NewDefault() *Seller {
3735
opts := &options{
3836
BaseURI: DefaultSellerAPIBaseURI,

internal/seller/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func (c *client) Request(ctx context.Context, method string, path string, src in
7373
Status: answer.StatusCode,
7474
Result: tgt,
7575
}
76-
fmt.Println(answer)
76+
7777
switch answer.StatusCode {
7878
case http.StatusOK:
7979
{

internal/seller/product/objects.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type InfoObject struct {
3838
DescriptionCategoryId int64 `json:"description_category_id"`
3939
TypeId int64 `json:"type_id"`
4040
IsArchived bool `json:"is_archived"`
41-
IsAutoarchived bool `json:"is_autoarchived"`
41+
IsAutoArchived bool `json:"is_autoarchived"`
4242
}
4343

4444
type InfoSource struct {

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
Functional includes:
44
- **Seller API** - for manage products, reports, sell strategies, warehouses more details [here](https://docs.ozon.ru/api/seller).
5+
- **Performance API** - planning to do
6+
57

68
## How to start
7-
### API
9+
### Seller API
810
Get ```Client-Id``` and ```Api-Key``` in your seller profile [here](https://seller.ozon.ru/app/settings/api-keys?locale=en)
911

1012
for begin add dependency to your project and ready done.

0 commit comments

Comments
 (0)