@orchesty/connector-woocommerce 1.0.0 → 2.0.0

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 (158) hide show
  1. package/README.md +102 -0
  2. package/dist/Connector/WooCommerceGetProductVariant.d.ts +15 -1
  3. package/dist/Connector/WooCommerceRegisterWebhook.js +1 -0
  4. package/dist/Connector/WooCommerceUnsubscribeWebhooks.js +5 -1
  5. package/dist/package.json +7 -5
  6. package/package.json +6 -4
  7. package/CHANGELOG.md +0 -12
  8. package/coverage/clover.xml +0 -404
  9. package/coverage/coverage-final.json +0 -21
  10. package/coverage/lcov-report/base.css +0 -224
  11. package/coverage/lcov-report/block-navigation.js +0 -87
  12. package/coverage/lcov-report/favicon.png +0 -0
  13. package/coverage/lcov-report/index.html +0 -161
  14. package/coverage/lcov-report/prettify.css +0 -1
  15. package/coverage/lcov-report/prettify.js +0 -2
  16. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  17. package/coverage/lcov-report/sorter.js +0 -210
  18. package/coverage/lcov-report/src/Batch/WooCommerceGetOrders.ts.html +0 -640
  19. package/coverage/lcov-report/src/Batch/WooCommerceGetProducts.ts.html +0 -532
  20. package/coverage/lcov-report/src/Batch/WooCommerceGetVariants.ts.html +0 -433
  21. package/coverage/lcov-report/src/Batch/index.html +0 -146
  22. package/coverage/lcov-report/src/Connector/WooCommerceAddNote.ts.html +0 -220
  23. package/coverage/lcov-report/src/Connector/WooCommerceCreateProduct.ts.html +0 -178
  24. package/coverage/lcov-report/src/Connector/WooCommerceCreateProductCategory.ts.html +0 -307
  25. package/coverage/lcov-report/src/Connector/WooCommerceGetOrderNotes.ts.html +0 -274
  26. package/coverage/lcov-report/src/Connector/WooCommerceGetOrderStatuses.ts.html +0 -175
  27. package/coverage/lcov-report/src/Connector/WooCommerceGetPaymentGateways.ts.html +0 -295
  28. package/coverage/lcov-report/src/Connector/WooCommerceGetProduct.ts.html +0 -181
  29. package/coverage/lcov-report/src/Connector/WooCommerceGetProductVariant.ts.html +0 -496
  30. package/coverage/lcov-report/src/Connector/WooCommerceGetProductsBySku.ts.html +0 -226
  31. package/coverage/lcov-report/src/Connector/WooCommerceGetSettingsGeneral.ts.html +0 -238
  32. package/coverage/lcov-report/src/Connector/WooCommerceGetShippingMethods.ts.html +0 -478
  33. package/coverage/lcov-report/src/Connector/WooCommerceUpdateOrder.ts.html +0 -193
  34. package/coverage/lcov-report/src/Connector/WooCommerceUpdateProduct.ts.html +0 -199
  35. package/coverage/lcov-report/src/Connector/WooCommerceUpdateProductQuantity.ts.html +0 -220
  36. package/coverage/lcov-report/src/Connector/WooCommerceUpdateProductVariant.ts.html +0 -199
  37. package/coverage/lcov-report/src/Connector/index.html +0 -326
  38. package/coverage/lcov-report/src/WooCommerceApplication.ts.html +0 -364
  39. package/coverage/lcov-report/src/index.html +0 -116
  40. package/coverage/lcov-report/test/dataProvider.ts.html +0 -427
  41. package/coverage/lcov-report/test/index.html +0 -116
  42. package/coverage/lcov.info +0 -661
  43. package/jest.config.js +0 -13
  44. package/src/Batch/WooCommerceGetOrders.ts +0 -185
  45. package/src/Batch/WooCommerceGetProducts.ts +0 -149
  46. package/src/Batch/WooCommerceGetVariants.ts +0 -116
  47. package/src/Batch/__tests__/Data/WooCommerceGetOrders/ids-input.json +0 -8
  48. package/src/Batch/__tests__/Data/WooCommerceGetOrders/ids-mock.json +0 -319
  49. package/src/Batch/__tests__/Data/WooCommerceGetOrders/ids-output.json +0 -16
  50. package/src/Batch/__tests__/Data/WooCommerceGetOrders/input.json +0 -6
  51. package/src/Batch/__tests__/Data/WooCommerceGetOrders/lastRun-input.json +0 -6
  52. package/src/Batch/__tests__/Data/WooCommerceGetOrders/lastRun-mock.json +0 -319
  53. package/src/Batch/__tests__/Data/WooCommerceGetOrders/lastRun-output.json +0 -15
  54. package/src/Batch/__tests__/Data/WooCommerceGetOrders/mock.json +0 -319
  55. package/src/Batch/__tests__/Data/WooCommerceGetOrders/output.json +0 -15
  56. package/src/Batch/__tests__/Data/WooCommerceGetProducts/input.json +0 -7
  57. package/src/Batch/__tests__/Data/WooCommerceGetProducts/mock.json +0 -170
  58. package/src/Batch/__tests__/Data/WooCommerceGetProducts/output.json +0 -11
  59. package/src/Batch/__tests__/Data/WooCommerceGetProducts/withAfter-input.json +0 -7
  60. package/src/Batch/__tests__/Data/WooCommerceGetProducts/withAfter-mock.json +0 -170
  61. package/src/Batch/__tests__/Data/WooCommerceGetProducts/withAfter-output.json +0 -11
  62. package/src/Batch/__tests__/Data/WooCommerceGetVariants/input.json +0 -169
  63. package/src/Batch/__tests__/Data/WooCommerceGetVariants/mock.json +0 -160
  64. package/src/Batch/__tests__/Data/WooCommerceGetVariants/output.json +0 -11
  65. package/src/Batch/__tests__/WooCommerceGetOrders.ts +0 -42
  66. package/src/Batch/__tests__/WooCommerceGetProducts.ts +0 -37
  67. package/src/Batch/__tests__/WooCommerceGetVariants.ts +0 -32
  68. package/src/Connector/WooCommerceAddNote.ts +0 -45
  69. package/src/Connector/WooCommerceCreateProduct.ts +0 -31
  70. package/src/Connector/WooCommerceCreateProductCategory.ts +0 -74
  71. package/src/Connector/WooCommerceGetOrderNotes.ts +0 -63
  72. package/src/Connector/WooCommerceGetOrderStatuses.ts +0 -30
  73. package/src/Connector/WooCommerceGetPaymentGateways.ts +0 -70
  74. package/src/Connector/WooCommerceGetProduct.ts +0 -32
  75. package/src/Connector/WooCommerceGetProductVariant.ts +0 -137
  76. package/src/Connector/WooCommerceGetProductsBySku.ts +0 -47
  77. package/src/Connector/WooCommerceGetSettingsGeneral.ts +0 -51
  78. package/src/Connector/WooCommerceGetShippingMethods.ts +0 -131
  79. package/src/Connector/WooCommerceRegisterWebhook.ts +0 -106
  80. package/src/Connector/WooCommerceUnsubscribeWebhooks.ts +0 -91
  81. package/src/Connector/WooCommerceUpdateOrder.ts +0 -36
  82. package/src/Connector/WooCommerceUpdateProduct.ts +0 -38
  83. package/src/Connector/WooCommerceUpdateProductQuantity.ts +0 -45
  84. package/src/Connector/WooCommerceUpdateProductVariant.ts +0 -38
  85. package/src/Connector/__tests__/Data/WooCommerceAddNote/input.json +0 -11
  86. package/src/Connector/__tests__/Data/WooCommerceAddNote/mock.json +0 -22
  87. package/src/Connector/__tests__/Data/WooCommerceAddNote/output.json +0 -23
  88. package/src/Connector/__tests__/Data/WooCommerceCreateProduct/input.json +0 -28
  89. package/src/Connector/__tests__/Data/WooCommerceCreateProduct/mock.json +0 -125
  90. package/src/Connector/__tests__/Data/WooCommerceCreateProduct/output.json +0 -126
  91. package/src/Connector/__tests__/Data/WooCommerceCreateProductCategory/input.json +0 -11
  92. package/src/Connector/__tests__/Data/WooCommerceCreateProductCategory/mock.json +0 -36
  93. package/src/Connector/__tests__/Data/WooCommerceCreateProductCategory/output.json +0 -37
  94. package/src/Connector/__tests__/Data/WooCommerceGetOrderNotes/input.json +0 -8
  95. package/src/Connector/__tests__/Data/WooCommerceGetOrderNotes/mock.json +0 -81
  96. package/src/Connector/__tests__/Data/WooCommerceGetOrderNotes/output.json +0 -82
  97. package/src/Connector/__tests__/Data/WooCommerceGetOrderStatuses/input.json +0 -6
  98. package/src/Connector/__tests__/Data/WooCommerceGetOrderStatuses/mock.json +0 -41
  99. package/src/Connector/__tests__/Data/WooCommerceGetOrderStatuses/output.json +0 -42
  100. package/src/Connector/__tests__/Data/WooCommerceGetPaymentGateways/input.json +0 -6
  101. package/src/Connector/__tests__/Data/WooCommerceGetPaymentGateways/mock.json +0 -350
  102. package/src/Connector/__tests__/Data/WooCommerceGetPaymentGateways/output.json +0 -351
  103. package/src/Connector/__tests__/Data/WooCommerceGetProduct/input.json +0 -8
  104. package/src/Connector/__tests__/Data/WooCommerceGetProduct/mock.json +0 -125
  105. package/src/Connector/__tests__/Data/WooCommerceGetProduct/output.json +0 -126
  106. package/src/Connector/__tests__/Data/WooCommerceGetProductVariant/input.json +0 -37
  107. package/src/Connector/__tests__/Data/WooCommerceGetProductVariant/mock.json +0 -81
  108. package/src/Connector/__tests__/Data/WooCommerceGetProductVariant/mock1.json +0 -81
  109. package/src/Connector/__tests__/Data/WooCommerceGetProductVariant/nok-input.json +0 -22
  110. package/src/Connector/__tests__/Data/WooCommerceGetProductVariant/nok-mock.json +0 -81
  111. package/src/Connector/__tests__/Data/WooCommerceGetProductVariant/nok-output.json +0 -24
  112. package/src/Connector/__tests__/Data/WooCommerceGetProductVariant/output.json +0 -37
  113. package/src/Connector/__tests__/Data/WooCommerceGetProductsBySku/input.json +0 -8
  114. package/src/Connector/__tests__/Data/WooCommerceGetProductsBySku/mock.json +0 -170
  115. package/src/Connector/__tests__/Data/WooCommerceGetProductsBySku/output.json +0 -169
  116. package/src/Connector/__tests__/Data/WooCommerceGetSettingsGeneral/input.json +0 -6
  117. package/src/Connector/__tests__/Data/WooCommerceGetSettingsGeneral/mock.json +0 -3459
  118. package/src/Connector/__tests__/Data/WooCommerceGetSettingsGeneral/output.json +0 -3460
  119. package/src/Connector/__tests__/Data/WooCommerceGetSettingsGeneral/with-id-input.json +0 -8
  120. package/src/Connector/__tests__/Data/WooCommerceGetSettingsGeneral/with-id-mock.json +0 -30
  121. package/src/Connector/__tests__/Data/WooCommerceGetSettingsGeneral/with-id-output.json +0 -31
  122. package/src/Connector/__tests__/Data/WooCommerceGetShippingMethods/input.json +0 -6
  123. package/src/Connector/__tests__/Data/WooCommerceGetShippingMethods/mock.json +0 -50
  124. package/src/Connector/__tests__/Data/WooCommerceGetShippingMethods/mock1.json +0 -187
  125. package/src/Connector/__tests__/Data/WooCommerceGetShippingMethods/mock2.json +0 -187
  126. package/src/Connector/__tests__/Data/WooCommerceGetShippingMethods/output.json +0 -373
  127. package/src/Connector/__tests__/Data/WooCommerceUpdateOrder/input.json +0 -9
  128. package/src/Connector/__tests__/Data/WooCommerceUpdateOrder/mock.json +0 -169
  129. package/src/Connector/__tests__/Data/WooCommerceUpdateOrder/output.json +0 -170
  130. package/src/Connector/__tests__/Data/WooCommerceUpdateProduct/input.json +0 -9
  131. package/src/Connector/__tests__/Data/WooCommerceUpdateProduct/mock.json +0 -125
  132. package/src/Connector/__tests__/Data/WooCommerceUpdateProduct/output.json +0 -126
  133. package/src/Connector/__tests__/Data/WooCommerceUpdateProductQuantity/input.json +0 -20
  134. package/src/Connector/__tests__/Data/WooCommerceUpdateProductQuantity/mock.json +0 -162
  135. package/src/Connector/__tests__/Data/WooCommerceUpdateProductQuantity/output.json +0 -6
  136. package/src/Connector/__tests__/Data/WooCommerceUpdateProductVariant/input.json +0 -10
  137. package/src/Connector/__tests__/Data/WooCommerceUpdateProductVariant/mock.json +0 -125
  138. package/src/Connector/__tests__/Data/WooCommerceUpdateProductVariant/output.json +0 -126
  139. package/src/Connector/__tests__/WooCommerceAddNote.ts +0 -18
  140. package/src/Connector/__tests__/WooCommerceCreateProduct.ts +0 -18
  141. package/src/Connector/__tests__/WooCommerceCreateProductCategory.ts +0 -18
  142. package/src/Connector/__tests__/WooCommerceGetOrderNotes.ts +0 -18
  143. package/src/Connector/__tests__/WooCommerceGetOrderStatuses.ts +0 -18
  144. package/src/Connector/__tests__/WooCommerceGetPaymentGateways.ts +0 -18
  145. package/src/Connector/__tests__/WooCommerceGetProduct.ts +0 -18
  146. package/src/Connector/__tests__/WooCommerceGetProductVariant.ts +0 -25
  147. package/src/Connector/__tests__/WooCommerceGetProductsBySku.ts +0 -18
  148. package/src/Connector/__tests__/WooCommerceGetSettingsGeneral.ts +0 -25
  149. package/src/Connector/__tests__/WooCommerceGetShippingMethods.ts +0 -18
  150. package/src/Connector/__tests__/WooCommerceUpdateOrder.ts +0 -18
  151. package/src/Connector/__tests__/WooCommerceUpdateProduct.ts +0 -18
  152. package/src/Connector/__tests__/WooCommerceUpdateProductQuantity.ts +0 -18
  153. package/src/Connector/__tests__/WooCommerceUpdateProductVariant.ts +0 -18
  154. package/src/WooCommerceApplication.ts +0 -93
  155. package/test/dataProvider.ts +0 -114
  156. package/tsconfig.json +0 -8
  157. package/tsconfig.prod.json +0 -13
  158. package/tsconfig.prod.tsbuildinfo +0 -1
@@ -1,15 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser"
4
- },
5
- "data": [
6
- {
7
- "body": "{\"id\":727,\"parent_id\":0,\"number\":\"727\",\"order_key\":\"wc_order_58d2d042d1d\",\"created_via\":\"rest-api\",\"version\":\"3.0.0\",\"status\":\"processing\",\"currency\":\"USD\",\"date_created\":\"2017-03-22T16:28:02\",\"date_created_gmt\":\"2017-03-22T19:28:02\",\"date_modified\":\"2017-03-22T16:28:08\",\"date_modified_gmt\":\"2017-03-22T19:28:08\",\"discount_total\":\"0.00\",\"discount_tax\":\"0.00\",\"shipping_total\":\"10.00\",\"shipping_tax\":\"0.00\",\"cart_tax\":\"1.35\",\"total\":\"29.35\",\"total_tax\":\"1.35\",\"prices_include_tax\":false,\"customer_id\":0,\"customer_ip_address\":\"\",\"customer_user_agent\":\"\",\"customer_note\":\"\",\"billing\":{\"first_name\":\"John\",\"last_name\":\"Doe\",\"company\":\"\",\"address_1\":\"969 Market\",\"address_2\":\"\",\"city\":\"San Francisco\",\"state\":\"CA\",\"postcode\":\"94103\",\"country\":\"US\",\"email\":\"john.doe@example.com\",\"phone\":\"(555) 555-5555\"},\"shipping\":{\"first_name\":\"John\",\"last_name\":\"Doe\",\"company\":\"\",\"address_1\":\"969 Market\",\"address_2\":\"\",\"city\":\"San Francisco\",\"state\":\"CA\",\"postcode\":\"94103\",\"country\":\"US\"},\"payment_method\":\"bacs\",\"payment_method_title\":\"Direct Bank Transfer\",\"transaction_id\":\"\",\"date_paid\":\"2017-03-22T16:28:08\",\"date_paid_gmt\":\"2017-03-22T19:28:08\",\"date_completed\":null,\"date_completed_gmt\":null,\"cart_hash\":\"\",\"meta_data\":[{\"id\":13106,\"key\":\"_download_permissions_granted\",\"value\":\"yes\"},{\"id\":13109,\"key\":\"_order_stock_reduced\",\"value\":\"yes\"}],\"line_items\":[{\"id\":315,\"name\":\"Woo Single #1\",\"product_id\":93,\"variation_id\":0,\"quantity\":2,\"tax_class\":\"\",\"subtotal\":\"6.00\",\"subtotal_tax\":\"0.45\",\"total\":\"6.00\",\"total_tax\":\"0.45\",\"taxes\":[{\"id\":75,\"total\":\"0.45\",\"subtotal\":\"0.45\"}],\"meta_data\":[],\"sku\":\"\",\"price\":3},{\"id\":316,\"name\":\"Ship Your Idea – Color: Black, Size: M Test\",\"product_id\":22,\"variation_id\":23,\"quantity\":1,\"tax_class\":\"\",\"subtotal\":\"12.00\",\"subtotal_tax\":\"0.90\",\"total\":\"12.00\",\"total_tax\":\"0.90\",\"taxes\":[{\"id\":75,\"total\":\"0.9\",\"subtotal\":\"0.9\"}],\"meta_data\":[{\"id\":2095,\"key\":\"pa_color\",\"value\":\"black\"},{\"id\":2096,\"key\":\"size\",\"value\":\"M Test\"}],\"sku\":\"Bar3\",\"price\":12}],\"tax_lines\":[{\"id\":318,\"rate_code\":\"US-CA-STATE TAX\",\"rate_id\":75,\"label\":\"State Tax\",\"compound\":false,\"tax_total\":\"1.35\",\"shipping_tax_total\":\"0.00\",\"meta_data\":[]}],\"shipping_lines\":[{\"id\":317,\"method_title\":\"Flat Rate\",\"method_id\":\"flat_rate\",\"total\":\"10.00\",\"total_tax\":\"0.00\",\"taxes\":[],\"meta_data\":[]}],\"fee_lines\":[],\"coupon_lines\":[],\"refunds\":[],\"_links\":{\"self\":[{\"href\":\"https://example.com/wp-json/wc/v3/orders/727\"}],\"collection\":[{\"href\":\"https://example.com/wp-json/wc/v3/orders\"}]}}",
8
- "headers": {}
9
- },
10
- {
11
- "body": "{\"id\":723,\"parent_id\":0,\"number\":\"723\",\"order_key\":\"wc_order_58d17c18352\",\"created_via\":\"checkout\",\"version\":\"3.0.0\",\"status\":\"completed\",\"currency\":\"USD\",\"date_created\":\"2017-03-21T16:16:00\",\"date_created_gmt\":\"2017-03-21T19:16:00\",\"date_modified\":\"2017-03-21T16:54:51\",\"date_modified_gmt\":\"2017-03-21T19:54:51\",\"discount_total\":\"0.00\",\"discount_tax\":\"0.00\",\"shipping_total\":\"10.00\",\"shipping_tax\":\"0.00\",\"cart_tax\":\"0.00\",\"total\":\"39.00\",\"total_tax\":\"0.00\",\"prices_include_tax\":false,\"customer_id\":26,\"customer_ip_address\":\"127.0.0.1\",\"customer_user_agent\":\"mozilla/5.0 (x11; ubuntu; linux x86_64; rv:52.0) gecko/20100101 firefox/52.0\",\"customer_note\":\"\",\"billing\":{\"first_name\":\"João\",\"last_name\":\"Silva\",\"company\":\"\",\"address_1\":\"Av. Brasil, 432\",\"address_2\":\"\",\"city\":\"Rio de Janeiro\",\"state\":\"RJ\",\"postcode\":\"12345-000\",\"country\":\"BR\",\"email\":\"joao.silva@example.com\",\"phone\":\"(11) 1111-1111\"},\"shipping\":{\"first_name\":\"João\",\"last_name\":\"Silva\",\"company\":\"\",\"address_1\":\"Av. Brasil, 432\",\"address_2\":\"\",\"city\":\"Rio de Janeiro\",\"state\":\"RJ\",\"postcode\":\"12345-000\",\"country\":\"BR\"},\"payment_method\":\"bacs\",\"payment_method_title\":\"Direct bank transfer\",\"transaction_id\":\"\",\"date_paid\":null,\"date_paid_gmt\":null,\"date_completed\":\"2017-03-21T16:54:51\",\"date_completed_gmt\":\"2017-03-21T19:54:51\",\"cart_hash\":\"5040ce7273261e31d8bcf79f9be3d279\",\"meta_data\":[{\"id\":13023,\"key\":\"_download_permissions_granted\",\"value\":\"yes\"}],\"line_items\":[{\"id\":311,\"name\":\"Woo Album #2\",\"product_id\":87,\"variation_id\":0,\"quantity\":1,\"tax_class\":\"\",\"subtotal\":\"9.00\",\"subtotal_tax\":\"0.00\",\"total\":\"9.00\",\"total_tax\":\"0.00\",\"taxes\":[],\"meta_data\":[],\"sku\":\"\",\"price\":9},{\"id\":313,\"name\":\"Woo Ninja\",\"product_id\":34,\"variation_id\":0,\"quantity\":1,\"tax_class\":\"\",\"subtotal\":\"20.00\",\"subtotal_tax\":\"0.00\",\"total\":\"20.00\",\"total_tax\":\"0.00\",\"taxes\":[],\"meta_data\":[],\"sku\":\"\",\"price\":20}],\"tax_lines\":[],\"shipping_lines\":[{\"id\":312,\"method_title\":\"Flat rate\",\"method_id\":\"flat_rate:25\",\"total\":\"10.00\",\"total_tax\":\"0.00\",\"taxes\":[],\"meta_data\":[{\"id\":2057,\"key\":\"Items\",\"value\":\"Woo Album #2 × 1\"}]}],\"fee_lines\":[],\"coupon_lines\":[],\"refunds\":[{\"id\":726,\"refund\":\"\",\"total\":\"-10.00\"},{\"id\":724,\"refund\":\"\",\"total\":\"-9.00\"}],\"_links\":{\"self\":[{\"href\":\"https://example.com/wp-json/wc/v3/orders/723\"}],\"collection\":[{\"href\":\"https://example.com/wp-json/wc/v3/orders\"}],\"customer\":[{\"href\":\"https://example.com/wp-json/wc/v3/customers/26\"}]}}",
12
- "headers": {}
13
- }
14
- ]
15
- }
@@ -1,7 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser"
4
- },
5
- "data": {
6
- }
7
- }
@@ -1,170 +0,0 @@
1
- {
2
- "http": "GET http://woocomerce.com/wp-json/wc/v3/products?per_page=100&page=1",
3
- "code": 200,
4
- "body": [
5
- {
6
- "id": 799,
7
- "name": "Ship Your Idea",
8
- "slug": "ship-your-idea-22",
9
- "permalink": "https://example.com/product/ship-your-idea-22/",
10
- "date_created": "2017-03-23T17:03:12",
11
- "date_created_gmt": "2017-03-23T20:03:12",
12
- "date_modified": "2017-03-23T17:03:12",
13
- "date_modified_gmt": "2017-03-23T20:03:12",
14
- "type": "variable",
15
- "status": "publish",
16
- "featured": false,
17
- "catalog_visibility": "visible",
18
- "description": "<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>\n",
19
- "short_description": "<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>\n",
20
- "sku": "",
21
- "price": "",
22
- "regular_price": "",
23
- "sale_price": "",
24
- "date_on_sale_from": null,
25
- "date_on_sale_from_gmt": null,
26
- "date_on_sale_to": null,
27
- "date_on_sale_to_gmt": null,
28
- "price_html": "",
29
- "on_sale": false,
30
- "purchasable": false,
31
- "total_sales": 0,
32
- "virtual": false,
33
- "downloadable": false,
34
- "downloads": [],
35
- "download_limit": -1,
36
- "download_expiry": -1,
37
- "external_url": "",
38
- "button_text": "",
39
- "tax_status": "taxable",
40
- "tax_class": "",
41
- "manage_stock": false,
42
- "stock_quantity": null,
43
- "stock_status": "instock",
44
- "backorders": "no",
45
- "backorders_allowed": false,
46
- "backordered": false,
47
- "sold_individually": false,
48
- "weight": "",
49
- "dimensions": {
50
- "length": "",
51
- "width": "",
52
- "height": ""
53
- },
54
- "shipping_required": true,
55
- "shipping_taxable": true,
56
- "shipping_class": "",
57
- "shipping_class_id": 0,
58
- "reviews_allowed": true,
59
- "average_rating": "0.00",
60
- "rating_count": 0,
61
- "related_ids": [
62
- 31,
63
- 22,
64
- 369,
65
- 414,
66
- 56
67
- ],
68
- "upsell_ids": [],
69
- "cross_sell_ids": [],
70
- "parent_id": 0,
71
- "purchase_note": "",
72
- "categories": [
73
- {
74
- "id": 9,
75
- "name": "Clothing",
76
- "slug": "clothing"
77
- },
78
- {
79
- "id": 14,
80
- "name": "T-shirts",
81
- "slug": "t-shirts"
82
- }
83
- ],
84
- "tags": [],
85
- "images": [
86
- {
87
- "id": 795,
88
- "date_created": "2017-03-23T14:03:08",
89
- "date_created_gmt": "2017-03-23T20:03:08",
90
- "date_modified": "2017-03-23T14:03:08",
91
- "date_modified_gmt": "2017-03-23T20:03:08",
92
- "src": "https://example.com/wp-content/uploads/2017/03/T_4_front-11.jpg",
93
- "name": "",
94
- "alt": ""
95
- },
96
- {
97
- "id": 796,
98
- "date_created": "2017-03-23T14:03:09",
99
- "date_created_gmt": "2017-03-23T20:03:09",
100
- "date_modified": "2017-03-23T14:03:09",
101
- "date_modified_gmt": "2017-03-23T20:03:09",
102
- "src": "https://example.com/wp-content/uploads/2017/03/T_4_back-10.jpg",
103
- "name": "",
104
- "alt": ""
105
- },
106
- {
107
- "id": 797,
108
- "date_created": "2017-03-23T14:03:10",
109
- "date_created_gmt": "2017-03-23T20:03:10",
110
- "date_modified": "2017-03-23T14:03:10",
111
- "date_modified_gmt": "2017-03-23T20:03:10",
112
- "src": "https://example.com/wp-content/uploads/2017/03/T_3_front-10.jpg",
113
- "name": "",
114
- "alt": ""
115
- },
116
- {
117
- "id": 798,
118
- "date_created": "2017-03-23T14:03:11",
119
- "date_created_gmt": "2017-03-23T20:03:11",
120
- "date_modified": "2017-03-23T14:03:11",
121
- "date_modified_gmt": "2017-03-23T20:03:11",
122
- "src": "https://example.com/wp-content/uploads/2017/03/T_3_back-10.jpg",
123
- "name": "",
124
- "alt": ""
125
- }
126
- ],
127
- "attributes": [
128
- {
129
- "id": 6,
130
- "name": "Color",
131
- "position": 0,
132
- "visible": false,
133
- "variation": true,
134
- "options": [
135
- "Black",
136
- "Green"
137
- ]
138
- },
139
- {
140
- "id": 0,
141
- "name": "Size",
142
- "position": 0,
143
- "visible": true,
144
- "variation": true,
145
- "options": [
146
- "S",
147
- "M"
148
- ]
149
- }
150
- ],
151
- "default_attributes": [],
152
- "variations": [],
153
- "grouped_products": [],
154
- "menu_order": 0,
155
- "meta_data": [],
156
- "_links": {
157
- "self": [
158
- {
159
- "href": "https://example.com/wp-json/wc/v3/products/799"
160
- }
161
- ],
162
- "collection": [
163
- {
164
- "href": "https://example.com/wp-json/wc/v3/products"
165
- }
166
- ]
167
- }
168
- }
169
- ]
170
- }
@@ -1,11 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser"
4
- },
5
- "data": [
6
- {
7
- "body": "{\"id\":799,\"name\":\"Ship Your Idea\",\"slug\":\"ship-your-idea-22\",\"permalink\":\"https://example.com/product/ship-your-idea-22/\",\"date_created\":\"2017-03-23T17:03:12\",\"date_created_gmt\":\"2017-03-23T20:03:12\",\"date_modified\":\"2017-03-23T17:03:12\",\"date_modified_gmt\":\"2017-03-23T20:03:12\",\"type\":\"variable\",\"status\":\"publish\",\"featured\":false,\"catalog_visibility\":\"visible\",\"description\":\"<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>\\n\",\"short_description\":\"<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>\\n\",\"sku\":\"\",\"price\":\"\",\"regular_price\":\"\",\"sale_price\":\"\",\"date_on_sale_from\":null,\"date_on_sale_from_gmt\":null,\"date_on_sale_to\":null,\"date_on_sale_to_gmt\":null,\"price_html\":\"\",\"on_sale\":false,\"purchasable\":false,\"total_sales\":0,\"virtual\":false,\"downloadable\":false,\"downloads\":[],\"download_limit\":-1,\"download_expiry\":-1,\"external_url\":\"\",\"button_text\":\"\",\"tax_status\":\"taxable\",\"tax_class\":\"\",\"manage_stock\":false,\"stock_quantity\":null,\"stock_status\":\"instock\",\"backorders\":\"no\",\"backorders_allowed\":false,\"backordered\":false,\"sold_individually\":false,\"weight\":\"\",\"dimensions\":{\"length\":\"\",\"width\":\"\",\"height\":\"\"},\"shipping_required\":true,\"shipping_taxable\":true,\"shipping_class\":\"\",\"shipping_class_id\":0,\"reviews_allowed\":true,\"average_rating\":\"0.00\",\"rating_count\":0,\"related_ids\":[31,22,369,414,56],\"upsell_ids\":[],\"cross_sell_ids\":[],\"parent_id\":0,\"purchase_note\":\"\",\"categories\":[{\"id\":9,\"name\":\"Clothing\",\"slug\":\"clothing\"},{\"id\":14,\"name\":\"T-shirts\",\"slug\":\"t-shirts\"}],\"tags\":[],\"images\":[{\"id\":795,\"date_created\":\"2017-03-23T14:03:08\",\"date_created_gmt\":\"2017-03-23T20:03:08\",\"date_modified\":\"2017-03-23T14:03:08\",\"date_modified_gmt\":\"2017-03-23T20:03:08\",\"src\":\"https://example.com/wp-content/uploads/2017/03/T_4_front-11.jpg\",\"name\":\"\",\"alt\":\"\"},{\"id\":796,\"date_created\":\"2017-03-23T14:03:09\",\"date_created_gmt\":\"2017-03-23T20:03:09\",\"date_modified\":\"2017-03-23T14:03:09\",\"date_modified_gmt\":\"2017-03-23T20:03:09\",\"src\":\"https://example.com/wp-content/uploads/2017/03/T_4_back-10.jpg\",\"name\":\"\",\"alt\":\"\"},{\"id\":797,\"date_created\":\"2017-03-23T14:03:10\",\"date_created_gmt\":\"2017-03-23T20:03:10\",\"date_modified\":\"2017-03-23T14:03:10\",\"date_modified_gmt\":\"2017-03-23T20:03:10\",\"src\":\"https://example.com/wp-content/uploads/2017/03/T_3_front-10.jpg\",\"name\":\"\",\"alt\":\"\"},{\"id\":798,\"date_created\":\"2017-03-23T14:03:11\",\"date_created_gmt\":\"2017-03-23T20:03:11\",\"date_modified\":\"2017-03-23T14:03:11\",\"date_modified_gmt\":\"2017-03-23T20:03:11\",\"src\":\"https://example.com/wp-content/uploads/2017/03/T_3_back-10.jpg\",\"name\":\"\",\"alt\":\"\"}],\"attributes\":[{\"id\":6,\"name\":\"Color\",\"position\":0,\"visible\":false,\"variation\":true,\"options\":[\"Black\",\"Green\"]},{\"id\":0,\"name\":\"Size\",\"position\":0,\"visible\":true,\"variation\":true,\"options\":[\"S\",\"M\"]}],\"default_attributes\":[],\"variations\":[],\"grouped_products\":[],\"menu_order\":0,\"meta_data\":[],\"_links\":{\"self\":[{\"href\":\"https://example.com/wp-json/wc/v3/products/799\"}],\"collection\":[{\"href\":\"https://example.com/wp-json/wc/v3/products\"}]}}",
8
- "headers": {}
9
- }
10
- ]
11
- }
@@ -1,7 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser"
4
- },
5
- "data": {
6
- }
7
- }
@@ -1,170 +0,0 @@
1
- {
2
- "http": "GET http://woocomerce.com/wp-json/wc/v3/products?per_page=100&page=1&after=2022-09-22T08:21:27.000Z",
3
- "code": 200,
4
- "body": [
5
- {
6
- "id": 799,
7
- "name": "Ship Your Idea",
8
- "slug": "ship-your-idea-22",
9
- "permalink": "https://example.com/product/ship-your-idea-22/",
10
- "date_created": "2017-03-23T17:03:12",
11
- "date_created_gmt": "2017-03-23T20:03:12",
12
- "date_modified": "2017-03-23T17:03:12",
13
- "date_modified_gmt": "2017-03-23T20:03:12",
14
- "type": "variable",
15
- "status": "publish",
16
- "featured": false,
17
- "catalog_visibility": "visible",
18
- "description": "<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>\n",
19
- "short_description": "<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>\n",
20
- "sku": "",
21
- "price": "",
22
- "regular_price": "",
23
- "sale_price": "",
24
- "date_on_sale_from": null,
25
- "date_on_sale_from_gmt": null,
26
- "date_on_sale_to": null,
27
- "date_on_sale_to_gmt": null,
28
- "price_html": "",
29
- "on_sale": false,
30
- "purchasable": false,
31
- "total_sales": 0,
32
- "virtual": false,
33
- "downloadable": false,
34
- "downloads": [],
35
- "download_limit": -1,
36
- "download_expiry": -1,
37
- "external_url": "",
38
- "button_text": "",
39
- "tax_status": "taxable",
40
- "tax_class": "",
41
- "manage_stock": false,
42
- "stock_quantity": null,
43
- "stock_status": "instock",
44
- "backorders": "no",
45
- "backorders_allowed": false,
46
- "backordered": false,
47
- "sold_individually": false,
48
- "weight": "",
49
- "dimensions": {
50
- "length": "",
51
- "width": "",
52
- "height": ""
53
- },
54
- "shipping_required": true,
55
- "shipping_taxable": true,
56
- "shipping_class": "",
57
- "shipping_class_id": 0,
58
- "reviews_allowed": true,
59
- "average_rating": "0.00",
60
- "rating_count": 0,
61
- "related_ids": [
62
- 31,
63
- 22,
64
- 369,
65
- 414,
66
- 56
67
- ],
68
- "upsell_ids": [],
69
- "cross_sell_ids": [],
70
- "parent_id": 0,
71
- "purchase_note": "",
72
- "categories": [
73
- {
74
- "id": 9,
75
- "name": "Clothing",
76
- "slug": "clothing"
77
- },
78
- {
79
- "id": 14,
80
- "name": "T-shirts",
81
- "slug": "t-shirts"
82
- }
83
- ],
84
- "tags": [],
85
- "images": [
86
- {
87
- "id": 795,
88
- "date_created": "2017-03-23T14:03:08",
89
- "date_created_gmt": "2017-03-23T20:03:08",
90
- "date_modified": "2017-03-23T14:03:08",
91
- "date_modified_gmt": "2017-03-23T20:03:08",
92
- "src": "https://example.com/wp-content/uploads/2017/03/T_4_front-11.jpg",
93
- "name": "",
94
- "alt": ""
95
- },
96
- {
97
- "id": 796,
98
- "date_created": "2017-03-23T14:03:09",
99
- "date_created_gmt": "2017-03-23T20:03:09",
100
- "date_modified": "2017-03-23T14:03:09",
101
- "date_modified_gmt": "2017-03-23T20:03:09",
102
- "src": "https://example.com/wp-content/uploads/2017/03/T_4_back-10.jpg",
103
- "name": "",
104
- "alt": ""
105
- },
106
- {
107
- "id": 797,
108
- "date_created": "2017-03-23T14:03:10",
109
- "date_created_gmt": "2017-03-23T20:03:10",
110
- "date_modified": "2017-03-23T14:03:10",
111
- "date_modified_gmt": "2017-03-23T20:03:10",
112
- "src": "https://example.com/wp-content/uploads/2017/03/T_3_front-10.jpg",
113
- "name": "",
114
- "alt": ""
115
- },
116
- {
117
- "id": 798,
118
- "date_created": "2017-03-23T14:03:11",
119
- "date_created_gmt": "2017-03-23T20:03:11",
120
- "date_modified": "2017-03-23T14:03:11",
121
- "date_modified_gmt": "2017-03-23T20:03:11",
122
- "src": "https://example.com/wp-content/uploads/2017/03/T_3_back-10.jpg",
123
- "name": "",
124
- "alt": ""
125
- }
126
- ],
127
- "attributes": [
128
- {
129
- "id": 6,
130
- "name": "Color",
131
- "position": 0,
132
- "visible": false,
133
- "variation": true,
134
- "options": [
135
- "Black",
136
- "Green"
137
- ]
138
- },
139
- {
140
- "id": 0,
141
- "name": "Size",
142
- "position": 0,
143
- "visible": true,
144
- "variation": true,
145
- "options": [
146
- "S",
147
- "M"
148
- ]
149
- }
150
- ],
151
- "default_attributes": [],
152
- "variations": [],
153
- "grouped_products": [],
154
- "menu_order": 0,
155
- "meta_data": [],
156
- "_links": {
157
- "self": [
158
- {
159
- "href": "https://example.com/wp-json/wc/v3/products/799"
160
- }
161
- ],
162
- "collection": [
163
- {
164
- "href": "https://example.com/wp-json/wc/v3/products"
165
- }
166
- ]
167
- }
168
- }
169
- ]
170
- }
@@ -1,11 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser"
4
- },
5
- "data": [
6
- {
7
- "body": "{\"id\":799,\"name\":\"Ship Your Idea\",\"slug\":\"ship-your-idea-22\",\"permalink\":\"https://example.com/product/ship-your-idea-22/\",\"date_created\":\"2017-03-23T17:03:12\",\"date_created_gmt\":\"2017-03-23T20:03:12\",\"date_modified\":\"2017-03-23T17:03:12\",\"date_modified_gmt\":\"2017-03-23T20:03:12\",\"type\":\"variable\",\"status\":\"publish\",\"featured\":false,\"catalog_visibility\":\"visible\",\"description\":\"<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>\\n\",\"short_description\":\"<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>\\n\",\"sku\":\"\",\"price\":\"\",\"regular_price\":\"\",\"sale_price\":\"\",\"date_on_sale_from\":null,\"date_on_sale_from_gmt\":null,\"date_on_sale_to\":null,\"date_on_sale_to_gmt\":null,\"price_html\":\"\",\"on_sale\":false,\"purchasable\":false,\"total_sales\":0,\"virtual\":false,\"downloadable\":false,\"downloads\":[],\"download_limit\":-1,\"download_expiry\":-1,\"external_url\":\"\",\"button_text\":\"\",\"tax_status\":\"taxable\",\"tax_class\":\"\",\"manage_stock\":false,\"stock_quantity\":null,\"stock_status\":\"instock\",\"backorders\":\"no\",\"backorders_allowed\":false,\"backordered\":false,\"sold_individually\":false,\"weight\":\"\",\"dimensions\":{\"length\":\"\",\"width\":\"\",\"height\":\"\"},\"shipping_required\":true,\"shipping_taxable\":true,\"shipping_class\":\"\",\"shipping_class_id\":0,\"reviews_allowed\":true,\"average_rating\":\"0.00\",\"rating_count\":0,\"related_ids\":[31,22,369,414,56],\"upsell_ids\":[],\"cross_sell_ids\":[],\"parent_id\":0,\"purchase_note\":\"\",\"categories\":[{\"id\":9,\"name\":\"Clothing\",\"slug\":\"clothing\"},{\"id\":14,\"name\":\"T-shirts\",\"slug\":\"t-shirts\"}],\"tags\":[],\"images\":[{\"id\":795,\"date_created\":\"2017-03-23T14:03:08\",\"date_created_gmt\":\"2017-03-23T20:03:08\",\"date_modified\":\"2017-03-23T14:03:08\",\"date_modified_gmt\":\"2017-03-23T20:03:08\",\"src\":\"https://example.com/wp-content/uploads/2017/03/T_4_front-11.jpg\",\"name\":\"\",\"alt\":\"\"},{\"id\":796,\"date_created\":\"2017-03-23T14:03:09\",\"date_created_gmt\":\"2017-03-23T20:03:09\",\"date_modified\":\"2017-03-23T14:03:09\",\"date_modified_gmt\":\"2017-03-23T20:03:09\",\"src\":\"https://example.com/wp-content/uploads/2017/03/T_4_back-10.jpg\",\"name\":\"\",\"alt\":\"\"},{\"id\":797,\"date_created\":\"2017-03-23T14:03:10\",\"date_created_gmt\":\"2017-03-23T20:03:10\",\"date_modified\":\"2017-03-23T14:03:10\",\"date_modified_gmt\":\"2017-03-23T20:03:10\",\"src\":\"https://example.com/wp-content/uploads/2017/03/T_3_front-10.jpg\",\"name\":\"\",\"alt\":\"\"},{\"id\":798,\"date_created\":\"2017-03-23T14:03:11\",\"date_created_gmt\":\"2017-03-23T20:03:11\",\"date_modified\":\"2017-03-23T14:03:11\",\"date_modified_gmt\":\"2017-03-23T20:03:11\",\"src\":\"https://example.com/wp-content/uploads/2017/03/T_3_back-10.jpg\",\"name\":\"\",\"alt\":\"\"}],\"attributes\":[{\"id\":6,\"name\":\"Color\",\"position\":0,\"visible\":false,\"variation\":true,\"options\":[\"Black\",\"Green\"]},{\"id\":0,\"name\":\"Size\",\"position\":0,\"visible\":true,\"variation\":true,\"options\":[\"S\",\"M\"]}],\"default_attributes\":[],\"variations\":[],\"grouped_products\":[],\"menu_order\":0,\"meta_data\":[],\"_links\":{\"self\":[{\"href\":\"https://example.com/wp-json/wc/v3/products/799\"}],\"collection\":[{\"href\":\"https://example.com/wp-json/wc/v3/products\"}]}}",
8
- "headers": {}
9
- }
10
- ]
11
- }
@@ -1,169 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser"
4
- },
5
- "data": {
6
- "id": 799,
7
- "name": "Ship Your Idea",
8
- "slug": "ship-your-idea-22",
9
- "permalink": "https://example.com/product/ship-your-idea-22/",
10
- "date_created": "2017-03-23T17:03:12",
11
- "date_created_gmt": "2017-03-23T20:03:12",
12
- "date_modified": "2017-03-23T17:03:12",
13
- "date_modified_gmt": "2017-03-23T20:03:12",
14
- "type": "variable",
15
- "status": "publish",
16
- "featured": false,
17
- "catalog_visibility": "visible",
18
- "description": "<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>\n",
19
- "short_description": "<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>\n",
20
- "sku": "",
21
- "price": "",
22
- "regular_price": "",
23
- "sale_price": "",
24
- "date_on_sale_from": null,
25
- "date_on_sale_from_gmt": null,
26
- "date_on_sale_to": null,
27
- "date_on_sale_to_gmt": null,
28
- "price_html": "",
29
- "on_sale": false,
30
- "purchasable": false,
31
- "total_sales": 0,
32
- "virtual": false,
33
- "downloadable": false,
34
- "downloads": [],
35
- "download_limit": -1,
36
- "download_expiry": -1,
37
- "external_url": "",
38
- "button_text": "",
39
- "tax_status": "taxable",
40
- "tax_class": "",
41
- "manage_stock": false,
42
- "stock_quantity": null,
43
- "stock_status": "instock",
44
- "backorders": "no",
45
- "backorders_allowed": false,
46
- "backordered": false,
47
- "sold_individually": false,
48
- "weight": "",
49
- "dimensions": {
50
- "length": "",
51
- "width": "",
52
- "height": ""
53
- },
54
- "shipping_required": true,
55
- "shipping_taxable": true,
56
- "shipping_class": "",
57
- "shipping_class_id": 0,
58
- "reviews_allowed": true,
59
- "average_rating": "0.00",
60
- "rating_count": 0,
61
- "related_ids": [
62
- 31,
63
- 22,
64
- 369,
65
- 414,
66
- 56
67
- ],
68
- "upsell_ids": [],
69
- "cross_sell_ids": [],
70
- "parent_id": 0,
71
- "purchase_note": "",
72
- "categories": [
73
- {
74
- "id": 9,
75
- "name": "Clothing",
76
- "slug": "clothing"
77
- },
78
- {
79
- "id": 14,
80
- "name": "T-shirts",
81
- "slug": "t-shirts"
82
- }
83
- ],
84
- "tags": [],
85
- "images": [
86
- {
87
- "id": 795,
88
- "date_created": "2017-03-23T14:03:08",
89
- "date_created_gmt": "2017-03-23T20:03:08",
90
- "date_modified": "2017-03-23T14:03:08",
91
- "date_modified_gmt": "2017-03-23T20:03:08",
92
- "src": "https://example.com/wp-content/uploads/2017/03/T_4_front-11.jpg",
93
- "name": "",
94
- "alt": ""
95
- },
96
- {
97
- "id": 796,
98
- "date_created": "2017-03-23T14:03:09",
99
- "date_created_gmt": "2017-03-23T20:03:09",
100
- "date_modified": "2017-03-23T14:03:09",
101
- "date_modified_gmt": "2017-03-23T20:03:09",
102
- "src": "https://example.com/wp-content/uploads/2017/03/T_4_back-10.jpg",
103
- "name": "",
104
- "alt": ""
105
- },
106
- {
107
- "id": 797,
108
- "date_created": "2017-03-23T14:03:10",
109
- "date_created_gmt": "2017-03-23T20:03:10",
110
- "date_modified": "2017-03-23T14:03:10",
111
- "date_modified_gmt": "2017-03-23T20:03:10",
112
- "src": "https://example.com/wp-content/uploads/2017/03/T_3_front-10.jpg",
113
- "name": "",
114
- "alt": ""
115
- },
116
- {
117
- "id": 798,
118
- "date_created": "2017-03-23T14:03:11",
119
- "date_created_gmt": "2017-03-23T20:03:11",
120
- "date_modified": "2017-03-23T14:03:11",
121
- "date_modified_gmt": "2017-03-23T20:03:11",
122
- "src": "https://example.com/wp-content/uploads/2017/03/T_3_back-10.jpg",
123
- "name": "",
124
- "alt": ""
125
- }
126
- ],
127
- "attributes": [
128
- {
129
- "id": 6,
130
- "name": "Color",
131
- "position": 0,
132
- "visible": false,
133
- "variation": true,
134
- "options": [
135
- "Black",
136
- "Green"
137
- ]
138
- },
139
- {
140
- "id": 0,
141
- "name": "Size",
142
- "position": 0,
143
- "visible": true,
144
- "variation": true,
145
- "options": [
146
- "S",
147
- "M"
148
- ]
149
- }
150
- ],
151
- "default_attributes": [],
152
- "variations": [],
153
- "grouped_products": [],
154
- "menu_order": 0,
155
- "meta_data": [],
156
- "_links": {
157
- "self": [
158
- {
159
- "href": "https://example.com/wp-json/wc/v3/products/799"
160
- }
161
- ],
162
- "collection": [
163
- {
164
- "href": "https://example.com/wp-json/wc/v3/products"
165
- }
166
- ]
167
- }
168
- }
169
- }