idosell 0.1.7 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +19 -1
  2. package/dist/gates.def.js +295 -55
  3. package/dist/gates.js +60 -8
  4. package/dist/helpers.js +8 -0
  5. package/dist/methods/deleteConfigVariables.js +6 -0
  6. package/dist/methods/deleteCpa.js +6 -0
  7. package/dist/methods/deleteCpaCampaign.js +6 -0
  8. package/dist/methods/deleteSnippets.js +6 -0
  9. package/dist/methods/deleteSnippetsCampaign.js +6 -0
  10. package/dist/methods/deleteSnippetsCookies.js +6 -0
  11. package/dist/methods/getConfigVariables.js +6 -0
  12. package/dist/methods/getCpa.js +6 -0
  13. package/dist/methods/getCpaCampaign.js +6 -0
  14. package/dist/methods/getEntriesSources.js +6 -0
  15. package/dist/methods/getPackages.js +6 -0
  16. package/dist/methods/getProductsAuctions.js +1 -1
  17. package/dist/methods/getProductsDeliveryTime.js +5 -0
  18. package/dist/methods/getProductsMarketingZones.js +10 -0
  19. package/dist/methods/getProductsOmnibusPrices.js +9 -0
  20. package/dist/methods/getProductsStrikethroughPrices.js +10 -0
  21. package/dist/methods/getSnippets.js +6 -0
  22. package/dist/methods/getSnippetsCampaign.js +6 -0
  23. package/dist/methods/getSnippetsCookies.js +6 -0
  24. package/dist/methods/postCpa.js +6 -0
  25. package/dist/methods/postCpaCampaign.js +6 -0
  26. package/dist/methods/postOrdersDocumentsCreate.js +6 -0
  27. package/dist/methods/postReturns.js +11 -0
  28. package/dist/methods/postSnippets.js +6 -0
  29. package/dist/methods/postSnippetsCampaign.js +6 -0
  30. package/dist/methods/postSnippetsCookies.js +6 -0
  31. package/dist/methods/putConfigVariables.js +6 -0
  32. package/dist/methods/putCpa.js +6 -0
  33. package/dist/methods/putCpaCampaign.js +6 -0
  34. package/dist/methods/putSnippets.js +6 -0
  35. package/dist/methods/putSnippetsCampaign.js +6 -0
  36. package/dist/methods/putSnippetsCookies.js +6 -0
  37. package/dist/params.js +3 -1
  38. package/package.json +1 -1
  39. package/tests/getEntriesSources.test.js +7 -0
  40. package/tests/getPackages.test.js +17 -0
  41. package/tests/getProductsDeliveryTime.test.js +17 -0
  42. package/tests/getProductsMarketingZones.test.js +17 -0
  43. package/tests/getProductsOmnibusPrices.test.js +17 -0
  44. package/tests/getProductsStrikethroughPrices.test.js +17 -0
  45. package/tests/postOrdersDocumentsCreate.test.js +7 -0
  46. package/tests/postReturns.test.js +12 -0
package/README.md CHANGED
@@ -306,12 +306,30 @@ This will result in following request body
306
306
  }
307
307
  ```
308
308
 
309
+ ### Params
310
+
311
+ Instead of using helpers, you can generate complex data by yourself and pass it using *params()* method.
312
+
313
+ ```javascript
314
+ const query = {
315
+ orderSource:{
316
+ auctionsParams: {
317
+ auctionsServicesNames: [
318
+ "allegro"
319
+ ]
320
+ }
321
+ }
322
+ }
323
+
324
+ const ordersFromAllegro = await idosellRequest.params(query).exec();
325
+ ```
326
+
309
327
  ## Debugging
310
328
 
311
329
  You can use the *getParams()* function to retrieve request parameters as Javascript Object.
312
330
 
313
331
  ```javascript
314
- const orderRequest = idosellRequest.getOrders.ordersSerialNumbers([123, 456, 789]).getParams();
332
+ const orderRequest = idosellRequest.listOrders.ordersSerialNumbers([123, 456, 789]).getParams();
315
333
  // Will return Object: { ordersSerialNumbers: [ 123, 456, 789 ] }
316
334
  ```
317
335
 
package/dist/gates.def.js CHANGED
@@ -614,6 +614,30 @@
614
614
  * @property {function} exec Excecute request
615
615
  */
616
616
 
617
+ /**
618
+ * @typedef {Object} GetConfigVariablesRequest
619
+ * @property {(type: 'snippets_campaign') => GetConfigVariablesRequest} type Which component is affected by the configuration.
620
+ * @property {(item: Array<Integer>) => GetConfigVariablesRequest} item List of item identifiers for given configuration type. Eg. snippet campaign identifiers.
621
+ * @property {(key: Array<String>) => GetConfigVariablesRequest} key List of configuration keys
622
+ * @property {(resultsPage: Integer) => GetConfigVariablesRequest} resultsPage Page with results number. Numeration starts from 0
623
+ * @property {(resultsLimit: Integer) => GetConfigVariablesRequest} resultsLimit Number of results on page. Value from 1 to 100
624
+ * @property {function} exec Excecute request
625
+ */
626
+
627
+ /**
628
+ * @typedef {Object} PutConfigVariablesRequest
629
+ * @property {(variables: Array<Object>) => PutConfigVariablesRequest} variables
630
+ * @property {function} exec Excecute request
631
+ */
632
+
633
+ /**
634
+ * @typedef {Object} DeleteConfigVariablesRequest
635
+ * @property {(type: 'snippets_campaign') => DeleteConfigVariablesRequest} type Which component is affected by the configuration.
636
+ * @property {(item: Array<Integer>) => DeleteConfigVariablesRequest} item List of item identifiers for given configuration type. Eg. snippet campaign identifiers.
637
+ * @property {(key: Array<String>) => DeleteConfigVariablesRequest} key List of configuration keys
638
+ * @property {function} exec Excecute request
639
+ */
640
+
617
641
  /**
618
642
  * @typedef {Object} GetCouriersAssignedToShippingProfilesRequest
619
643
  * @property {function} exec Excecute request
@@ -657,7 +681,7 @@
657
681
  * @property {(pickupPointExternalId: String) => PostCouriersPickupPointsRequest} pickupPointExternalId external system code.
658
682
  * @property {(courierId: Integer) => PostCouriersPickupPointsRequest} courierId Courier ID.
659
683
  * @property {(descriptions: Array<Object>) => PostCouriersPickupPointsRequest} descriptions collection point details.
660
- * @property {(paymentForms: Array<Object>) => PostCouriersPickupPointsRequest} paymentForms Accepted payment types.
684
+ * @property {(paymentForms: Array<String>) => PostCouriersPickupPointsRequest} paymentForms Accepted payment types.
661
685
  * @property {(serviceStatus: 'out_of_service'|'available') => PostCouriersPickupPointsRequest} serviceStatus Collection point activity. Available values: available, outOfService .
662
686
  * @property {(address: Object) => PostCouriersPickupPointsRequest} address Pickup point address.
663
687
  * @property {(coordinates: Object) => PostCouriersPickupPointsRequest} coordinates Geographic coordinates.
@@ -673,7 +697,7 @@
673
697
  * @property {(pickupPointExternalId: String) => PutCouriersPickupPointsRequest} pickupPointExternalId external system code.
674
698
  * @property {(courierId: Integer) => PutCouriersPickupPointsRequest} courierId Courier ID.
675
699
  * @property {(descriptions: Array<Object>) => PutCouriersPickupPointsRequest} descriptions collection point details.
676
- * @property {(paymentForms: Array<Object>) => PutCouriersPickupPointsRequest} paymentForms Accepted payment types.
700
+ * @property {(paymentForms: Array<String>) => PutCouriersPickupPointsRequest} paymentForms Accepted payment types.
677
701
  * @property {(serviceStatus: 'out_of_service'|'available') => PutCouriersPickupPointsRequest} serviceStatus Collection point activity. Available values: available, outOfService .
678
702
  * @property {(address: Object) => PutCouriersPickupPointsRequest} address Pickup point address.
679
703
  * @property {(coordinates: Object) => PutCouriersPickupPointsRequest} coordinates Geographic coordinates.
@@ -682,6 +706,60 @@
682
706
  * @property {function} exec Excecute request
683
707
  */
684
708
 
709
+ /**
710
+ * @typedef {Object} GetCpaCampaignRequest
711
+ * @property {(shopId: Array<Integer>) => GetCpaCampaignRequest} shopId List of shop identifiers
712
+ * @property {(id: Array<Integer>) => GetCpaCampaignRequest} id List of identifiers
713
+ * @property {(resultsPage: Integer) => GetCpaCampaignRequest} resultsPage Page with results number. Numeration starts from 0
714
+ * @property {(resultsLimit: Integer) => GetCpaCampaignRequest} resultsLimit Number of results on page. Value from 1 to 100
715
+ * @property {function} exec Excecute request
716
+ */
717
+
718
+ /**
719
+ * @typedef {Object} PostCpaCampaignRequest
720
+ * @property {(campaigns: Array<Object>) => PostCpaCampaignRequest} campaigns
721
+ * @property {function} exec Excecute request
722
+ */
723
+
724
+ /**
725
+ * @typedef {Object} PutCpaCampaignRequest
726
+ * @property {(campaigns: Array<Object>) => PutCpaCampaignRequest} campaigns
727
+ * @property {function} exec Excecute request
728
+ */
729
+
730
+ /**
731
+ * @typedef {Object} DeleteCpaCampaignRequest
732
+ * @property {(id: Array<Integer>) => DeleteCpaCampaignRequest} id List of identifiers
733
+ * @property {function} exec Excecute request
734
+ */
735
+
736
+ /**
737
+ * @typedef {Object} GetCpaRequest
738
+ * @property {(campaign: Array<Integer>) => GetCpaRequest} campaign List of campaign identifiers
739
+ * @property {(id: Array<Integer>) => GetCpaRequest} id List of identifiers
740
+ * @property {(resultsPage: Integer) => GetCpaRequest} resultsPage Page with results number. Numeration starts from 0
741
+ * @property {(resultsLimit: Integer) => GetCpaRequest} resultsLimit Number of results on page. Value from 1 to 100
742
+ * @property {function} exec Excecute request
743
+ */
744
+
745
+ /**
746
+ * @typedef {Object} PostCpaRequest
747
+ * @property {(cpa: Array<Object>) => PostCpaRequest} cpa
748
+ * @property {function} exec Excecute request
749
+ */
750
+
751
+ /**
752
+ * @typedef {Object} PutCpaRequest
753
+ * @property {(cpa: Array<Object>) => PutCpaRequest} cpa
754
+ * @property {function} exec Excecute request
755
+ */
756
+
757
+ /**
758
+ * @typedef {Object} DeleteCpaRequest
759
+ * @property {(id: Array<Integer>) => DeleteCpaRequest} id List of identifiers
760
+ * @property {function} exec Excecute request
761
+ */
762
+
685
763
  /**
686
764
  * @typedef {Object} PutDeliveriesDefaultProfilesRequest
687
765
  * @property {(regionId: Integer) => PutDeliveriesDefaultProfilesRequest} regionId Country ID
@@ -868,6 +946,12 @@
868
946
  * @property {function} exec Excecute request
869
947
  */
870
948
 
949
+ /**
950
+ * @typedef {Object} GetEntriesSourcesRequest
951
+ * @property {(type: Array<String>) => GetEntriesSourcesRequest} type The type of source for which we want to get service identifiers
952
+ * @property {function} exec Excecute request
953
+ */
954
+
871
955
  /**
872
956
  * @typedef {Object} GetMenuFilterRequest
873
957
  * @property {(shopId: Integer) => GetMenuFilterRequest} shopId Shop Id
@@ -913,7 +997,7 @@
913
997
  * @property {(lang_id: String) => GetMenuRequest} lang_id Language ID.
914
998
  * @property {(node_id: Integer) => GetMenuRequest} node_id Menu node ID.
915
999
  * @property {(level: Integer) => GetMenuRequest} level Number of levels.
916
- * @property {(settings::textid_separator: String) => GetMenuRequest} settings::textid_separator Default: "\".
1000
+ * @property {(textid_separator: String) => GetMenuRequest} textid_separator Default: "\".
917
1001
  * @property {function} exec Excecute request
918
1002
  */
919
1003
 
@@ -1006,6 +1090,17 @@
1006
1090
  * @property {function} exec Excecute request
1007
1091
  */
1008
1092
 
1093
+ /**
1094
+ * @typedef {Object} PostOrdersDocumentsCreateRequest
1095
+ * @property {(orderSerialNumbers: Array<Integer>) => PostOrdersDocumentsCreateRequest} orderSerialNumbers
1096
+ * @property {(actualize: Boolean) => PostOrdersDocumentsCreateRequest} actualize
1097
+ * @property {(documentType: 'vat_invoice'|'fiscal_invoice'|'corrective_vat_invoice'|'fiscal_receipt'|'sales_confirmation') => PostOrdersDocumentsCreateRequest} documentType Document type
1098
+ * @property {(documentIssuedDate: String) => PostOrdersDocumentsCreateRequest} documentIssuedDate Document issued date
1099
+ * @property {(documentPurchaseDate: String) => PostOrdersDocumentsCreateRequest} documentPurchaseDate Document purchase date
1100
+ * @property {(printerId: Integer) => PostOrdersDocumentsCreateRequest} printerId Printer id
1101
+ * @property {function} exec Excecute request
1102
+ */
1103
+
1009
1104
  /**
1010
1105
  * @typedef {Object} DeleteOrdersDocumentsRequest
1011
1106
  * @property {(documents: Array<Object>) => DeleteOrdersDocumentsRequest} documents List of documents.
@@ -1434,6 +1529,9 @@
1434
1529
  * @property {(deliveryPackageNumbers: Array<String>) => GetPackagesRequest} deliveryPackageNumbers Consignments numbers.
1435
1530
  * @property {(events: Array<Object>) => GetPackagesRequest} events Element, package is assigned to
1436
1531
  * @property {(returnLabels: Boolean) => GetPackagesRequest} returnLabels Return parcel labels.
1532
+ * @property {(orderSerialNumbers: Array<Integer>) => GetPackagesRequest} orders Set type to orders with given order serial numbers
1533
+ * @property {(rmaIds: Array<Integer>) => GetPackagesRequest} rma Set type to rma with given rma Ids
1534
+ * @property {(returnIds: Array<Integer>) => GetPackagesRequest} returns Set type to returns with given return Ids
1437
1535
  * @property {function} exec Excecute request
1438
1536
  */
1439
1537
 
@@ -1581,6 +1679,30 @@
1581
1679
  * @property {function} exec Excecute request
1582
1680
  */
1583
1681
 
1682
+ /**
1683
+ * @typedef {Object} GetProductsBrandsFilterRequest
1684
+ * @property {(shopId: Integer) => GetProductsBrandsFilterRequest} shopId Shop Id
1685
+ * @property {(languageId: String) => GetProductsBrandsFilterRequest} languageId Language ID (code in ISO 639-2).
1686
+ * @property {(producerId: Integer) => GetProductsBrandsFilterRequest} producerId Brand ID
1687
+ * @property {function} exec Excecute request
1688
+ */
1689
+
1690
+ /**
1691
+ * @typedef {Object} PutProductsBrandsFilterRequest
1692
+ * @property {(shopId: Integer) => PutProductsBrandsFilterRequest} shopId Shop Id
1693
+ * @property {(languageId: String) => PutProductsBrandsFilterRequest} languageId Language ID (code in ISO 639-2).
1694
+ * @property {(producerId: Integer) => PutProductsBrandsFilterRequest} producerId Brand ID
1695
+ * @property {(filterForNodeIsDefault: 'y'|'n') => PutProductsBrandsFilterRequest} filterForNodeIsDefault
1696
+ * @property {(filtersActive: Array<Object>) => PutProductsBrandsFilterRequest} filtersActive Active filters.
1697
+ * @property {(filterId: String) => PutProductsBrandsFilterRequest} filterId Menu filter ID.
1698
+ * @property {(filterName: String) => PutProductsBrandsFilterRequest} filterName Filter name on page.
1699
+ * @property {(filterDisplay: 'name'|'gfx'|'namegfx') => PutProductsBrandsFilterRequest} filterDisplay Display as: "name" - text, "gfx" - graphics, "namegfx" - text and graphics.
1700
+ * @property {(filterValueSort: 'y'|'n'|'priority') => PutProductsBrandsFilterRequest} filterValueSort Sort by: "y" - alfabetically, "n" - by frequency and order of occurrence of indicated parameter value in found products, "priority" - according to value sequence in parameter.
1701
+ * @property {(filterDefaultEnabled: 'y'|'n') => PutProductsBrandsFilterRequest} filterDefaultEnabled Enabled by default .
1702
+ * @property {function} append Append current data to array and start modifying next row
1703
+ * @property {function} exec Excecute request
1704
+ */
1705
+
1584
1706
  /**
1585
1707
  * @typedef {Object} GetProductsBrandsRequest
1586
1708
  * @property {(results_page: Integer) => GetProductsBrandsRequest} results_page Result page number.
@@ -1610,30 +1732,6 @@
1610
1732
  * @property {function} exec Excecute request
1611
1733
  */
1612
1734
 
1613
- /**
1614
- * @typedef {Object} GetProductsBrandsFilterRequest
1615
- * @property {(shopId: Integer) => GetProductsBrandsFilterRequest} shopId Shop Id
1616
- * @property {(languageId: String) => GetProductsBrandsFilterRequest} languageId Language ID (code in ISO 639-2).
1617
- * @property {(producerId: Integer) => GetProductsBrandsFilterRequest} producerId Brand ID
1618
- * @property {function} exec Excecute request
1619
- */
1620
-
1621
- /**
1622
- * @typedef {Object} PutProductsBrandsFilterRequest
1623
- * @property {(shopId: Integer) => PutProductsBrandsFilterRequest} shopId Shop Id
1624
- * @property {(languageId: String) => PutProductsBrandsFilterRequest} languageId Language ID (code in ISO 639-2).
1625
- * @property {(producerId: Integer) => PutProductsBrandsFilterRequest} producerId Brand ID
1626
- * @property {(filterForNodeIsDefault: 'y'|'n') => PutProductsBrandsFilterRequest} filterForNodeIsDefault
1627
- * @property {(filtersActive: Array<Object>) => PutProductsBrandsFilterRequest} filtersActive Active filters.
1628
- * @property {(filterId: String) => PutProductsBrandsFilterRequest} filterId Menu filter ID.
1629
- * @property {(filterName: String) => PutProductsBrandsFilterRequest} filterName Filter name on page.
1630
- * @property {(filterDisplay: 'name'|'gfx'|'namegfx') => PutProductsBrandsFilterRequest} filterDisplay Display as: "name" - text, "gfx" - graphics, "namegfx" - text and graphics.
1631
- * @property {(filterValueSort: 'y'|'n'|'priority') => PutProductsBrandsFilterRequest} filterValueSort Sort by: "y" - alfabetically, "n" - by frequency and order of occurrence of indicated parameter value in found products, "priority" - according to value sequence in parameter.
1632
- * @property {(filterDefaultEnabled: 'y'|'n') => PutProductsBrandsFilterRequest} filterDefaultEnabled Enabled by default .
1633
- * @property {function} append Append current data to array and start modifying next row
1634
- * @property {function} exec Excecute request
1635
- */
1636
-
1637
1735
  /**
1638
1736
  * @typedef {Object} PostProductsBundlesRequest
1639
1737
  * @property {(params: Array<Object>) => PostProductsBundlesRequest} params Parameters transmitted to method
@@ -1774,6 +1872,12 @@
1774
1872
  * @typedef {Object} GetProductsDeliveryTimeRequest
1775
1873
  * @property {(stockId: Integer) => GetProductsDeliveryTimeRequest} stockId Stock ID
1776
1874
  * @property {(isCollectionInPerson: Boolean) => GetProductsDeliveryTimeRequest} isCollectionInPerson Should products be prepared for personal collection?
1875
+ * @property {(products: Array<Object>) => GetProductsDeliveryTimeRequest} products
1876
+ * @property {(productId: Integer) => GetProductsDeliveryTimeRequest} productId Product Id
1877
+ * @property {(sizeId: Integer) => GetProductsDeliveryTimeRequest} sizeId Size identifier
1878
+ * @property {(sizePanelName: String) => GetProductsDeliveryTimeRequest} sizePanelName Size name
1879
+ * @property {(productIndex: String) => GetProductsDeliveryTimeRequest} productIndex Product IAI code
1880
+ * @property {(productSizeQuantity: Integer) => GetProductsDeliveryTimeRequest} productSizeQuantity Product quantity.
1777
1881
  * @property {function} exec Excecute request
1778
1882
  */
1779
1883
 
@@ -1917,6 +2021,7 @@
1917
2021
  /**
1918
2022
  * @typedef {Object} GetProductsMarketingZonesRequest
1919
2023
  * @property {(products: Array<Object>) => GetProductsMarketingZonesRequest} products Products list.
2024
+ * @property {(productId: Integer, sizeId: Integer|String, type: 'id'|'index'|'codeExtern'|'codeProducer') => GetProductsStrikethroughPricesRequest} productId Set product and size identifiers
1920
2025
  * @property {function} exec Excecute request
1921
2026
  */
1922
2027
 
@@ -1937,6 +2042,7 @@
1937
2042
  /**
1938
2043
  * @typedef {Object} GetProductsOmnibusPricesRequest
1939
2044
  * @property {(products: Array<Object>) => GetProductsOmnibusPricesRequest} products Products list.
2045
+ * @property {(productId: Integer, sizeId: Integer|String, type: 'id'|'index'|'codeExtern'|'codeProducer') => GetProductsStrikethroughPricesRequest} productId Set product and size identifiers
1940
2046
  * @property {function} exec Excecute request
1941
2047
  */
1942
2048
 
@@ -2041,6 +2147,7 @@
2041
2147
  * @property {(item_text_ids: Array<Object>) => PutProductsParametersRequest} item_text_ids Element text ID - can be entered instead of "id". Recognized save format: "section" (without backslash), "parameter\" (parameter without assigned value).
2042
2148
  * @property {(names: Array<Object>) => PutProductsParametersRequest} names Names of section, parameter or value.
2043
2149
  * @property {(descriptions: Array<Object>) => PutProductsParametersRequest} descriptions Descriptions of section, parameter or value.
2150
+ * @property {(search_description: Array<Object>) => PutProductsParametersRequest} search_description Search descriptions of parameter value.
2044
2151
  * @property {(card_icons: Array<Object>) => PutProductsParametersRequest} card_icons Icons of section, parameter or value to display on the product card.
2045
2152
  * @property {(link_icons: Array<Object>) => PutProductsParametersRequest} link_icons Icons of section, parameter or value to display on the list of products.
2046
2153
  * @property {(context_id: String) => PutProductsParametersRequest} context_id Parameter's additional feature. 1. Status: context_id = "CONTEXT_STATE" Takes values context_value_id: - CONTEXT_STATE_NEW - New, - CONTEXT_STATE_USED - Used, - CONTEXT_STATE_REFURBISHED_BY_PRODUCER - Renewed by a manufacturer, - CONTEXT_STATE_REFURBISHED_BY_SELLER - Renewed by a seller, - CONTEXT_STATE_FOR_PARTS_OR_BROKEN - In parts or damaged. 2. Product weight in grams: context_id = "CONTEXT_STD_UNIT_WEIGHT" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 3. A product's value in milliliters: context_id = "CONTEXT_STD_UNIT_VOLUME" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 4. Sex: context_id = "CONTEXT_SEX" Takes values context_value_id: - CONTEXT_SEX_MAN - Man, - CONTEXT_SEX_WOMAN - Woman, - CONTEXT_SEX_UNISEX - Unisex. 5. Age group: context_id = "CONTEXT_AGE_GROUP" Takes values context_value_id: - CONTEXT_AGE_GROUP_ADULT - Adults, - CONTEXT_AGE_GROUP_MINOR - Children. 6. Maximum number of products in an order: context_id = "CONTEXT_MAX_QUANTITY_PER_RETAIL_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 7. Maximum number of products in a wholesale order: context_id = "CONTEXT_MAX_QUANTITY_PER_WHOLESALE_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 8. Minimal number of products in an order: context_id = "CONTEXT_MIN_QUANTITY_PER_RETAIL_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 9. Minimum number of products in a wholesale order: context_id = "CONTEXT_MIN_QUANTITY_PER_WHOLESALE_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 10. Maximal number of a single size in an order: context_id = "CONTEXT_MAX_SIZE_QUANTITY_PER_RETAIL_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 11. Maximal number of a single size in a wholesale order: context_id = "CONTEXT_MAX_SIZE_QUANTITY_PER_WHOLESALE_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 12. Minimal number of a single size in an order: context_id = "CONTEXT_MIN_SIZE_QUANTITY_PER_RETAIL_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 13. Minimal number of a single size in a wholesale order: context_id = "CONTEXT_MIN_SIZE_QUANTITY_PER_WHOLESALE_ORDER" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 14. Net weight: context_id = "CONTEXT_WEIGHT_NET" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 15. Color: context_id = "CONTEXT_COLOR" Takes values context_value_id: - Value of additional feature is set automatically basing on the parameter's value. 16. #!TylkoDlaDoroslych!#: context_id = "CONTEXT_ONLY_ADULTS" Takes values context_value_id: - CONTEXT_ONLY_ADULTS_YES - yes, - CONTEXT_ONLY_ADULTS_NO - no. 17. Prescription drug: context_id = "CONTEXT_PRESCRIPTION_MEDICINE" Takes values context_value_id: - CONTEXT_PRESCRIPTION_MEDICINE_YES - yes, - CONTEXT_PRESCRIPTION_MEDICINE_NO - no. 18. Season Rate: context_id = "CONTEXT_SEASON" Takes values context_value_id: - CONTEXT_SEASON_SPRING - Spring, - CONTEXT_SEASON_SUMMER - Summer, - CONTEXT_SEASON_FALL - Autumn, - CONTEXT_SEASON_WINTER - Winter, - CONTEXT_SEASON_SPRING_SUMMER - Spring/Summer, - CONTEXT_SEASON_FALL_WINTER - Autumn/Winter.
@@ -2462,29 +2569,6 @@
2462
2569
  * @property {function} exec Excecute request
2463
2570
  */
2464
2571
 
2465
- /**
2466
- * @typedef {Object} GetProductsSeriesRequest
2467
- * @property {(return_last_changed_time: String) => GetProductsSeriesRequest} return_last_changed_time With "y" value it returns the last series modification date in YYYY-MM-DD HH:MM:SS format.
2468
- * @property {(ids: Array<Integer>) => GetProductsSeriesRequest} ids IDs
2469
- * @property {(names: Array<String>) => GetProductsSeriesRequest} names Names
2470
- * @property {(languagesIds: Array<String>) => GetProductsSeriesRequest} languagesIds List of languages
2471
- * @property {(resultsPage: Integer) => GetProductsSeriesRequest} resultsPage Page with results number. Numeration starts from 0
2472
- * @property {(resultsLimit: Integer) => GetProductsSeriesRequest} resultsLimit Number of results on page. Value from 1 to 100
2473
- * @property {(page: Integer, limit: Integer) => GetProductsSeriesRequest} page Define page number and maximum results per page
2474
- * @property {() => Integer} count Returns total numer of results
2475
- * @property {function} exec Excecute request
2476
- */
2477
-
2478
- /**
2479
- * @typedef {Object} PutProductsSeriesRequest
2480
- * @property {(series: Array<Object>) => PutProductsSeriesRequest} series Series list.
2481
- * @property {(id: Integer) => PutProductsSeriesRequest} id Id
2482
- * @property {(nameInPanel: String) => PutProductsSeriesRequest} nameInPanel Name in panel
2483
- * @property {(shopsConfigurations: Array<Object>) => PutProductsSeriesRequest} shopsConfigurations
2484
- * @property {function} append Append current data to array and start modifying next row
2485
- * @property {function} exec Excecute request
2486
- */
2487
-
2488
2572
  /**
2489
2573
  * @typedef {Object} GetProductsSeriesFilterRequest
2490
2574
  * @property {(shopId: Integer) => GetProductsSeriesFilterRequest} shopId Shop Id
@@ -2509,6 +2593,29 @@
2509
2593
  * @property {function} exec Excecute request
2510
2594
  */
2511
2595
 
2596
+ /**
2597
+ * @typedef {Object} GetProductsSeriesRequest
2598
+ * @property {(return_last_changed_time: String) => GetProductsSeriesRequest} return_last_changed_time With "y" value it returns the last series modification date in YYYY-MM-DD HH:MM:SS format.
2599
+ * @property {(ids: Array<Integer>) => GetProductsSeriesRequest} ids IDs
2600
+ * @property {(names: Array<String>) => GetProductsSeriesRequest} names Names
2601
+ * @property {(languagesIds: Array<String>) => GetProductsSeriesRequest} languagesIds List of languages
2602
+ * @property {(resultsPage: Integer) => GetProductsSeriesRequest} resultsPage Page with results number. Numeration starts from 0
2603
+ * @property {(resultsLimit: Integer) => GetProductsSeriesRequest} resultsLimit Number of results on page. Value from 1 to 100
2604
+ * @property {(page: Integer, limit: Integer) => GetProductsSeriesRequest} page Define page number and maximum results per page
2605
+ * @property {() => Integer} count Returns total numer of results
2606
+ * @property {function} exec Excecute request
2607
+ */
2608
+
2609
+ /**
2610
+ * @typedef {Object} PutProductsSeriesRequest
2611
+ * @property {(series: Array<Object>) => PutProductsSeriesRequest} series Series list.
2612
+ * @property {(id: Integer) => PutProductsSeriesRequest} id Id
2613
+ * @property {(nameInPanel: String) => PutProductsSeriesRequest} nameInPanel Name in panel
2614
+ * @property {(shopsConfigurations: Array<Object>) => PutProductsSeriesRequest} shopsConfigurations
2615
+ * @property {function} append Append current data to array and start modifying next row
2616
+ * @property {function} exec Excecute request
2617
+ */
2618
+
2512
2619
  /**
2513
2620
  * @typedef {Object} DeleteProductsSizesRequest
2514
2621
  * @property {(mode: 'delete_by_size'|'delete_all') => DeleteProductsSizesRequest} mode Edition mode
@@ -2574,6 +2681,7 @@
2574
2681
  /**
2575
2682
  * @typedef {Object} GetProductsStrikethroughPricesRequest
2576
2683
  * @property {(products: Array<Object>) => GetProductsStrikethroughPricesRequest} products Products list.
2684
+ * @property {(productId: Integer, sizeId: Integer|String, type: 'id'|'index'|'codeExtern'|'codeProducer') => GetProductsStrikethroughPricesRequest} productId Set product and size identifiers
2577
2685
  * @property {function} exec Excecute request
2578
2686
  */
2579
2687
 
@@ -2721,6 +2829,30 @@
2721
2829
  * @property {function} exec Excecute request
2722
2830
  */
2723
2831
 
2832
+ /**
2833
+ * @typedef {Object} PostReturnsRequest
2834
+ * @property {(order_sn: Integer) => PostReturnsRequest} order_sn Order serial number
2835
+ * @property {(stock_id: Integer) => PostReturnsRequest} stock_id
2836
+ * @property {(products: Array<Object>) => PostReturnsRequest} products Products list.
2837
+ * @property {(status: Integer) => PostReturnsRequest} status
2838
+ * @property {(client_received: Boolean) => PostReturnsRequest} client_received
2839
+ * @property {(change_status: Boolean) => PostReturnsRequest} change_status
2840
+ * @property {(courier_id: Integer) => PostReturnsRequest} courier_id
2841
+ * @property {(return_operator: String) => PostReturnsRequest} return_operator
2842
+ * @property {(tryCorrectInvoice: Boolean) => PostReturnsRequest} tryCorrectInvoice
2843
+ * @property {(include_shipping_cost: String) => PostReturnsRequest} include_shipping_cost
2844
+ * @property {(additional_payment_cost: String) => PostReturnsRequest} additional_payment_cost
2845
+ * @property {(emptyReturn: 'n'|'y') => PostReturnsRequest} emptyReturn
2846
+ * @property {(id: Integer) => PostReturnsRequest} id
2847
+ * @property {(size: String) => PostReturnsRequest} size
2848
+ * @property {(quantity: Number) => PostReturnsRequest} quantity
2849
+ * @property {(price: Number) => PostReturnsRequest} price Price.
2850
+ * @property {(serialNumbers: Array<String>) => PostReturnsRequest} serialNumbers
2851
+ * @property {(productOrderAdditional: String) => PostReturnsRequest} productOrderAdditional Additional information.
2852
+ * @property {function} append Append current data to array and start modifying next row
2853
+ * @property {function} exec Excecute request
2854
+ */
2855
+
2724
2856
  /**
2725
2857
  * @typedef {Object} PutReturnsRequest
2726
2858
  * @property {(returns: Array<Object>) => PutReturnsRequest} returns
@@ -2830,6 +2962,88 @@
2830
2962
  * @property {function} exec Excecute request
2831
2963
  */
2832
2964
 
2965
+ /**
2966
+ * @typedef {Object} GetSnippetsCampaignRequest
2967
+ * @property {(shopId: Array<Integer>) => GetSnippetsCampaignRequest} shopId List of shop identifiers
2968
+ * @property {(id: Array<Integer>) => GetSnippetsCampaignRequest} id List of identifiers
2969
+ * @property {(omitDeleted: 'y'|'n') => GetSnippetsCampaignRequest} omitDeleted Whether to skip the return of deleted campaigns.
2970
+ * @property {(resultsPage: Integer) => GetSnippetsCampaignRequest} resultsPage Page with results number. Numeration starts from 0
2971
+ * @property {(resultsLimit: Integer) => GetSnippetsCampaignRequest} resultsLimit Number of results on page. Value from 1 to 100
2972
+ * @property {function} exec Excecute request
2973
+ */
2974
+
2975
+ /**
2976
+ * @typedef {Object} PostSnippetsCampaignRequest
2977
+ * @property {(campaigns: Array<Object>) => PostSnippetsCampaignRequest} campaigns
2978
+ * @property {function} exec Excecute request
2979
+ */
2980
+
2981
+ /**
2982
+ * @typedef {Object} PutSnippetsCampaignRequest
2983
+ * @property {(campaigns: Array<Object>) => PutSnippetsCampaignRequest} campaigns
2984
+ * @property {function} exec Excecute request
2985
+ */
2986
+
2987
+ /**
2988
+ * @typedef {Object} DeleteSnippetsCampaignRequest
2989
+ * @property {(id: Array<Integer>) => DeleteSnippetsCampaignRequest} id List of identifiers
2990
+ * @property {function} exec Excecute request
2991
+ */
2992
+
2993
+ /**
2994
+ * @typedef {Object} GetSnippetsCookiesRequest
2995
+ * @property {(id: Array<Integer>) => GetSnippetsCookiesRequest} id List of identifiers for specific cookies
2996
+ * @property {(resultsPage: Integer) => GetSnippetsCookiesRequest} resultsPage Page with results number. Numeration starts from 0
2997
+ * @property {(resultsLimit: Integer) => GetSnippetsCookiesRequest} resultsLimit Number of results on page. Value from 1 to 100
2998
+ * @property {function} exec Excecute request
2999
+ */
3000
+
3001
+ /**
3002
+ * @typedef {Object} PostSnippetsCookiesRequest
3003
+ * @property {(cookies: Array<Object>) => PostSnippetsCookiesRequest} cookies
3004
+ * @property {function} exec Excecute request
3005
+ */
3006
+
3007
+ /**
3008
+ * @typedef {Object} PutSnippetsCookiesRequest
3009
+ * @property {(cookies: Array<Object>) => PutSnippetsCookiesRequest} cookies
3010
+ * @property {function} exec Excecute request
3011
+ */
3012
+
3013
+ /**
3014
+ * @typedef {Object} DeleteSnippetsCookiesRequest
3015
+ * @property {(id: Array<Integer>) => DeleteSnippetsCookiesRequest} id List of cookie identifiers
3016
+ * @property {function} exec Excecute request
3017
+ */
3018
+
3019
+ /**
3020
+ * @typedef {Object} GetSnippetsRequest
3021
+ * @property {(campaign: Array<Integer>) => GetSnippetsRequest} campaign List of campaign identifiers
3022
+ * @property {(id: Array<Integer>) => GetSnippetsRequest} id List of identifiers
3023
+ * @property {(omitDeleted: 'y'|'n') => GetSnippetsRequest} omitDeleted Whether to skip the return of deleted campaigns.
3024
+ * @property {(resultsPage: Integer) => GetSnippetsRequest} resultsPage Page with results number. Numeration starts from 0
3025
+ * @property {(resultsLimit: Integer) => GetSnippetsRequest} resultsLimit Number of results on page. Value from 1 to 100
3026
+ * @property {function} exec Excecute request
3027
+ */
3028
+
3029
+ /**
3030
+ * @typedef {Object} PostSnippetsRequest
3031
+ * @property {(snippets: Array<Object>) => PostSnippetsRequest} snippets
3032
+ * @property {function} exec Excecute request
3033
+ */
3034
+
3035
+ /**
3036
+ * @typedef {Object} PutSnippetsRequest
3037
+ * @property {(snippets: Array<Object>) => PutSnippetsRequest} snippets
3038
+ * @property {function} exec Excecute request
3039
+ */
3040
+
3041
+ /**
3042
+ * @typedef {Object} DeleteSnippetsRequest
3043
+ * @property {(id: Array<Integer>) => DeleteSnippetsRequest} id List of identifiers
3044
+ * @property {function} exec Excecute request
3045
+ */
3046
+
2833
3047
  /**
2834
3048
  * @typedef {Object} GetSystemConfigRequest
2835
3049
  * @property {function} exec Excecute request
@@ -3094,7 +3308,7 @@
3094
3308
 
3095
3309
  /**
3096
3310
  * @typedef {Object} GetWmsStocksdocumentsDocumentsRequest
3097
- * @property {(stockDocumentType: 'pz'|'pw'|'px'|'rx'|'rw'|'wz'|'mm'|'wz'|'zw') => GetWmsStocksdocumentsDocumentsRequest} stockDocumentType Document type.
3311
+ * @property {(stockDocumentType: 'pz'|'pw'|'px'|'rx'|'rw'|'wz'|'mm'|'zw') => GetWmsStocksdocumentsDocumentsRequest} stockDocumentType Document type.
3098
3312
  * @property {(stockDocumentStatus: 'open'|'on_the_way'|'close') => GetWmsStocksdocumentsDocumentsRequest} stockDocumentStatus Document status.
3099
3313
  * @property {(stockDocumentsIds: Array<Integer>) => GetWmsStocksdocumentsDocumentsRequest} stockDocumentsIds Document identifier.
3100
3314
  * @property {(stockDocumentsNumbers: Array<String>) => GetWmsStocksdocumentsDocumentsRequest} stockDocumentsNumbers Document number.
@@ -3314,12 +3528,23 @@
3314
3528
  * @property {GetClientsTagsRequest} getClientsTags Use this method to retrieve all tags assigned to a client
3315
3529
  * @property {PostClientsTagsRequest} postClientsTags Use this method to add new tags and their associated values to the client
3316
3530
  * @property {PutClientsTagsRequest} putClientsTags The method is used to update the value of the tags assigned to the client. A tag with value 0 is detached from the client
3531
+ * @property {GetConfigVariablesRequest} getConfigVariables This call returns config variables for given module (type)
3532
+ * @property {PutConfigVariablesRequest} putConfigVariables Use this operation to update snippet campaigns.
3533
+ * @property {DeleteConfigVariablesRequest} deleteConfigVariables This call is used to remove defined configuration variables.
3317
3534
  * @property {GetCouriersAssignedToShippingProfilesRequest} getCouriersAssignedToShippingProfiles Retrieves information about assigned couriers to delivery profiles
3318
3535
  * @property {GetCouriersRequest} getCouriers Method that returns all couriers available for a given country. It also returns information whether the courier service handles personal collections.
3319
3536
  * @property {DeleteCouriersPickupPointsRequest} deleteCouriersPickupPoints The method enables cancelling personal collection points within your own collection points chain. It does not allow for modifying integrated couriers collection points.
3320
3537
  * @property {GetCouriersPickupPointsRequest} getCouriersPickupPoints The method returns personal collection points within its own network of collection points and for integrated couriers.
3321
3538
  * @property {PostCouriersPickupPointsRequest} postCouriersPickupPoints The method enables adding personal collection points within your own collection points chain. It does not allow for modifying integrated couriers collection points.
3322
3539
  * @property {PutCouriersPickupPointsRequest} putCouriersPickupPoints The method enables updating personal collection points within your own collection points chain. It does not allow for modifying integrated couriers collection points.
3540
+ * @property {GetCpaCampaignRequest} getCpaCampaign This call returns all CPA campaigns.
3541
+ * @property {PostCpaCampaignRequest} postCpaCampaign Use this operation to create cpa campaigns.
3542
+ * @property {PutCpaCampaignRequest} putCpaCampaign Use this operation to update CPA campaigns.
3543
+ * @property {DeleteCpaCampaignRequest} deleteCpaCampaign This call is used to remove CPA program campaign.
3544
+ * @property {GetCpaRequest} getCpa This call returns all cpa programs.
3545
+ * @property {PostCpaRequest} postCpa Use this operation to create code snippet.
3546
+ * @property {PutCpaRequest} putCpa Use this operation to update code snippet.
3547
+ * @property {DeleteCpaRequest} deleteCpa This call is used to remove CPA programs.
3323
3548
  * @property {PutDeliveriesDefaultProfilesRequest} putDeliveriesDefaultProfiles The method allows to set the default delivery profile for the given region.
3324
3549
  * @property {GetDeliveriesProfilesRequest} getDeliveriesProfiles Allows to download all of the delivery profiles defined in the administration panel
3325
3550
  * @property {GetDeliveriesRegionsRequest} getDeliveriesRegions The method allows to download a list of regions supporting deliveries.
@@ -3342,6 +3567,7 @@
3342
3567
  * @property {PostEntriesRequest} postEntries Enables adding blog or news entry
3343
3568
  * @property {PutEntriesRequest} putEntries Enables changing blog or news entry in the shop
3344
3569
  * @property {GetEntriesPagesToDisplayRequest} getEntriesPagesToDisplay Allows you to download a list of sites on which a blog entry or a news item can be published.
3570
+ * @property {GetEntriesSourcesRequest} getEntriesSources This call returns all entry sources with options.
3345
3571
  * @property {GetMenuFilterRequest} getMenuFilter The method returns information about filter settings in menu nodes.
3346
3572
  * @property {PutMenuFilterRequest} putMenuFilter The method allows you to manage filter settings in menu nodes.
3347
3573
  * @property {DeleteMenuRequest} deleteMenu Method that enables deleting existing menu elements.
@@ -3355,6 +3581,7 @@
3355
3581
  * @property {PutOrdersCourierRequest} putOrdersCourier Method that enables changing the courier handling the shipment for an order.
3356
3582
  * @property {PutOrdersDeliveryAddressRequest} putOrdersDeliveryAddress Method that enables editing the delivery address details for an order in the administration panel.
3357
3583
  * @property {PutOrdersDevideRequest} putOrdersDevide Method for division order
3584
+ * @property {PostOrdersDocumentsCreateRequest} postOrdersDocumentsCreate The method allows to generate documents to the order in the IdoSell administration panel.
3358
3585
  * @property {DeleteOrdersDocumentsRequest} deleteOrdersDocuments The method allows to delete documents added to the order in the IdoSell administration panel.
3359
3586
  * @property {GetOrdersDocumentsRequest} getOrdersDocuments Method that enables extracting information about documents issued for orders in the administration panel.
3360
3587
  * @property {PostOrdersDocumentsRequest} postOrdersDocuments The method allows to add TIFF, BMP, PNG, JPG, JPEG, GIF or PDF documents to the order in the IdoSell Shop administration panel.
@@ -3403,11 +3630,11 @@
3403
3630
  * @property {PutProductsAttachmentsRequest} putProductsAttachments Method that enables adding and editing product attachments.
3404
3631
  * @property {GetProductsAuctionsRequest} getProductsAuctions Allows for downloading information about auctions and auction categories to which the product has been assigned (for a maximum of 100 products in one request)
3405
3632
  * @property {DeleteProductsBrandsRequest} deleteProductsBrands The method allows you to remove brands from the administration panel.
3633
+ * @property {GetProductsBrandsFilterRequest} getProductsBrandsFilter The method allows you to download a list of filters for brands (manufacturers) available in the IdoSell administration panel.
3634
+ * @property {PutProductsBrandsFilterRequest} putProductsBrandsFilter The method allows you to manage filter settings for brands (manufacturers).
3406
3635
  * @property {GetProductsBrandsRequest} getProductsBrands Method that returns information about brands available in the IdoSell Shop administration panel.
3407
3636
  * @property {PostProductsBrandsRequest} postProductsBrands The method allows you to update brands information available in the administration panel.
3408
3637
  * @property {PutProductsBrandsRequest} putProductsBrands The method allows you to update brands information available in the administration panel.
3409
- * @property {GetProductsBrandsFilterRequest} getProductsBrandsFilter The method allows you to download a list of filters for brands (manufacturers) available in the IdoSell administration panel.
3410
- * @property {PutProductsBrandsFilterRequest} putProductsBrandsFilter The method allows you to manage filter settings for brands (manufacturers).
3411
3638
  * @property {PostProductsBundlesRequest} postProductsBundles createBundle method allows to create a new product with a type: set and to assign existing products as a set components. Products added via this gate are hidden from the shop customer by default. To change the visibility of created products use the gate setProducts or set it on a product card in the shop administration panel
3412
3639
  * @property {DeleteProductsBundlesProductsRequest} deleteProductsBundlesProducts removeProductsFromBundle method allows to remove indicated set components
3413
3640
  * @property {PostProductsBundlesProductsRequest} postProductsBundlesProducts addProductsToBundle method allows to add components to existing sets in the administration panel
@@ -3462,10 +3689,10 @@
3462
3689
  * @property {GetProductsReservationsRequest} getProductsReservations It allows to download information about product reservations in orders (for up to 100 products in one request).
3463
3690
  * @property {PostProductsRestoreRequest} postProductsRestore The method is used to restore deleted products
3464
3691
  * @property {DeleteProductsSeriesRequest} deleteProductsSeries Method allows you to delete a series of products available in the IdoSell administration panel.
3465
- * @property {GetProductsSeriesRequest} getProductsSeries Method returns information about the product series available in the IdoSell administration panel.
3466
- * @property {PutProductsSeriesRequest} putProductsSeries Method allows you to update information about product series available in the IdoSell administration panel.
3467
3692
  * @property {GetProductsSeriesFilterRequest} getProductsSeriesFilter Method allows you to retrieve a list of filters for a series of products available in the IdoSell administration panel..
3468
3693
  * @property {PutProductsSeriesFilterRequest} putProductsSeriesFilter The method allows you to manage the filter settings for the series..
3694
+ * @property {GetProductsSeriesRequest} getProductsSeries Method returns information about the product series available in the IdoSell administration panel.
3695
+ * @property {PutProductsSeriesRequest} putProductsSeries Method allows you to update information about product series available in the IdoSell administration panel.
3469
3696
  * @property {DeleteProductsSizesRequest} deleteProductsSizes The method is used to remove sizes
3470
3697
  * @property {GetProductsSizesRequest} getProductsSizes Method that returns information about product sizes configured in the administration panel
3471
3698
  * @property {PutProductsSizesRequest} putProductsSizes This method allows you to edit the size-dependent data
@@ -3488,6 +3715,7 @@
3488
3715
  * @property {GetRefundsRetrieveRefundsListRequest} getRefundsRetrieveRefundsList Method returns a list of incomplete refunds.
3489
3716
  * @property {PutRefundsUpdateRefundRequest} putRefundsUpdateRefund Method allows you to update refund.
3490
3717
  * @property {GetReturnsRequest} getReturns Method that enables getting information about returns issued for orders in the administration panel.
3718
+ * @property {PostReturnsRequest} postReturns
3491
3719
  * @property {PutReturnsRequest} putReturns Method that enables editing returns issued for orders in the administration panel.
3492
3720
  * @property {PutReturnsSerialNumberRequest} putReturnsSerialNumber Method that enables setting serial numbers for products included in returns issued for orders in the administration panel.
3493
3721
  * @property {GetReturnsStatusesRequest} getReturnsStatuses Allows to download all configurable return statuses
@@ -3499,6 +3727,18 @@
3499
3727
  * @property {PutSizechartsRequest} putSizecharts The method allows the size charts settings to be updated.
3500
3728
  * @property {GetSizesRequest} getSizes Method that returns information about product sizes configured in the administration panel. List of size groups (with sizes that belong to particular group) is returned as a result.
3501
3729
  * @property {PutSizesRequest} putSizes Method that enables creating, deleting and editing product sizes in the administration panel.
3730
+ * @property {GetSnippetsCampaignRequest} getSnippetsCampaign This call returns all snippet campaigns (including deleted ones but to readonly).
3731
+ * @property {PostSnippetsCampaignRequest} postSnippetsCampaign Use this operation to create snippet campaigns.
3732
+ * @property {PutSnippetsCampaignRequest} putSnippetsCampaign Use this operation to update snippet campaigns.
3733
+ * @property {DeleteSnippetsCampaignRequest} deleteSnippetsCampaign This call is used to remove campaign snippets.
3734
+ * @property {GetSnippetsCookiesRequest} getSnippetsCookies This call returns all cookie definitions related to code snippets.
3735
+ * @property {PostSnippetsCookiesRequest} postSnippetsCookies Use this operation to create a cookie definition for a code snippet.
3736
+ * @property {PutSnippetsCookiesRequest} putSnippetsCookies Use this operation to update a cookie definition for a code snippet.
3737
+ * @property {DeleteSnippetsCookiesRequest} deleteSnippetsCookies This call is used to remove campaign cookies.
3738
+ * @property {GetSnippetsRequest} getSnippets This call returns all snippets.
3739
+ * @property {PostSnippetsRequest} postSnippets Use this operation to create code snippet.
3740
+ * @property {PutSnippetsRequest} putSnippets Use this operation to update code snippet.
3741
+ * @property {DeleteSnippetsRequest} deleteSnippets This call is used to remove snippets.
3502
3742
  * @property {GetSystemConfigRequest} getSystemConfig Method is used for extracting information about a shop and its most important configuration settings.
3503
3743
  * @property {PutSystemConfigRequest} putSystemConfig The method is used to manage the most important settings in the store and in the panel. It enables, among others, configuration of tax and billing settings and configuration of warehouse management.
3504
3744
  * @property {GetSystemCurrenciesRequest} getSystemCurrencies This method returns the current exchange rate in relation to the currency set in the administration panel.