Commit Graph

19 Commits

Author SHA1 Message Date
Ruslan Efanov
22cbdd7fcf add parameter of failed entity in response for upload methods for orders and customers 2022-12-09 11:38:21 +03:00
Ruslan Efanov
1bd5b77b3f refactoring
correct example for methods
fix linters error
add `/api/v5/orders/{externalId}/delivery/cancel`, `/api/v5/store/product-groups/create`, `/api/v5/store/product-groups/{externalId}/edit`
2022-12-08 17:31:08 +03:00
Ruslan Efanov
ddc2b3f785 add /api/v5/loyalty/loyalties, /api/v5/loyalty/loyalties/{id}
add field in `deliveryPaymentTypes` for ` /api/v5/reference/delivery-types`
2022-12-08 13:32:54 +03:00
Ruslan Efanov
90f790e148 add /api/v5/loyalty/accounts 2022-12-07 17:40:52 +03:00
Ruslan Efanov
921d4c1295 Add/edit methods
add `/api/v5/store/products/batch/create`, `/api/v5/store/products/batch/edit`
add fields `isError` and `isPreprocessing` for statuses of integration delivery
add field `deliveryType` for response of creating integration module with inegration delivery
add `/api/v5/loyalty/account/create`, `/api/v5/loyalty/account/{id}`, `/api/v5/loyalty/account/{id}/edit`
add `/api/v5/loyalty/account/{id}/activate`, `/api/v5/loyalty/account/{id}/bonus/credit`
add `/api/v5/loyalty/account/{id}/bonus/{status}/details`
2022-12-07 15:06:59 +03:00
Ruslan Efanov
2f6ab28d85 add method of batch products operations 2022-12-07 15:06:59 +03:00
Ruslan Efanov
50e25d61bc change type on active field 2022-12-06 22:27:56 +03:00
Ruslan Efanov
a29e2419ff remove omitempty for active field in json tag for IntegrationModule struct 2022-12-06 17:35:32 +03:00
Tyschitskaya Maria
2117664f1f fix docs for loyalty bonus operations methods 2022-08-09 15:27:01 +03:00
Tyschitskaya Maria
5e45297368 loyalty bonus operations methods 2022-08-09 13:45:11 +03:00
Alexander Kozlov
e316e3565c added 'Ordering' field to 'Site' definition 2022-05-23 11:38:20 +03:00
Vragov Roman
1355012c58 В метод Setting добавлены настройки рабочего времени 2022-04-29 12:27:47 +03:00
pm14kas
06433b7c19
updated Site definition (#66)
Co-authored-by: Alexander Kozlov <kozlov_a@intaro.email>
2022-04-28 11:18:18 +03:00
cd567755e7
Fix for the UpdateScopes method 2022-04-13 17:32:26 +03:00
735103b9bd
Сorrect implementation for update-scopes method
* correct implementation for update-scopes method
* update CI
2022-04-12 15:37:15 +03:00
tishmaria90
1309825638
Add update scopes method (#61)
* add update scopes method

* apiKey field

* example fix

Co-authored-by: Maria Tyschitskaya <tyschitskaya@retailcrm.ru>
2022-04-01 17:22:53 +03:00
726f90f29c fix order[items][][properties][] unmarshaling for empty values 2021-11-08 13:25:56 +03:00
2ffbcde857 fix incorrect marshaling for some string maps 2021-10-27 17:18:50 +03:00
97b1abf470
Correct v2 (#55)
* refactor library and upgrade version
* remove useless environment variable
* remove unsupported versions from go.mod
* fixes for error handling & data types
* different improvements for errors
* fixes for types and tests
* better coverage, fix error with the unmarshalers
2021-10-27 15:49:06 +03:00