workarea-api 4.4.6 → 4.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -15
- data/admin/LICENSE +52 -0
- data/admin/README.md +4 -7
- data/admin/workarea-api-admin.gemspec +5 -4
- data/doc/api/admin/categories/bulk_upserting_categories.json +4 -4
- data/doc/api/admin/categories/creating_a_category.json +7 -7
- data/doc/api/admin/categories/listing_categories.json +4 -4
- data/doc/api/admin/categories/removing_a_category.json +4 -4
- data/doc/api/admin/categories/showing_a_category.json +6 -6
- data/doc/api/admin/categories/updating_a_category.json +5 -5
- data/doc/api/admin/category_product_rules/creating_a_category_product_rule.json +7 -7
- data/doc/api/admin/category_product_rules/listing_category_product_rules.json +6 -6
- data/doc/api/admin/category_product_rules/removing_a_category_product_rule.json +4 -4
- data/doc/api/admin/category_product_rules/updating_a_category_product_rule.json +4 -4
- data/doc/api/admin/content/bulk_upserting_content.json +4 -4
- data/doc/api/admin/content/creating_content.json +7 -7
- data/doc/api/admin/content/listing_content.json +4 -4
- data/doc/api/admin/content/showing_content.json +6 -6
- data/doc/api/admin/content/updating_content.json +4 -4
- data/doc/api/admin/content_assets/bulk_upserting_content_assets.json +4 -4
- data/doc/api/admin/content_assets/creating_a_content_asset.json +7 -7
- data/doc/api/admin/content_assets/listing_content_assets.json +5 -5
- data/doc/api/admin/content_assets/removing_a_content_asset.json +4 -4
- data/doc/api/admin/content_assets/showing_a_content_asset.json +6 -6
- data/doc/api/admin/content_assets/updating_a_content_asset.json +5 -5
- data/doc/api/admin/discounts/creating_a_discount.json +7 -7
- data/doc/api/admin/discounts/listing_discounts.json +4 -4
- data/doc/api/admin/discounts/removing_a_discount.json +4 -4
- data/doc/api/admin/discounts/showing_a_discount.json +6 -6
- data/doc/api/admin/discounts/updating_discounts.json +4 -4
- data/doc/api/admin/email_signups/listing_email_signups.json +4 -4
- data/doc/api/admin/email_signups/showing_an_email_signup.json +6 -6
- data/doc/api/admin/fulfillment/listing_fulfillments.json +4 -4
- data/doc/api/admin/fulfillment/marking_items_as_canceled.json +6 -6
- data/doc/api/admin/fulfillment/marking_items_as_shipped.json +6 -6
- data/doc/api/admin/fulfillment/showing_fulfillment.json +4 -4
- data/doc/api/admin/inventory_skus/bulk_upserting_inventory_skus.json +4 -4
- data/doc/api/admin/inventory_skus/creating_an_inventory_sku.json +6 -6
- data/doc/api/admin/inventory_skus/listing_inventory_skus.json +4 -4
- data/doc/api/admin/inventory_skus/removing_an_inventory_sku.json +2 -2
- data/doc/api/admin/inventory_skus/showing_an_inventory_sku.json +4 -4
- data/doc/api/admin/inventory_skus/updating_an_inventory_sku.json +2 -2
- data/doc/api/admin/navigation_menus/creating_a_menu.json +7 -7
- data/doc/api/admin/navigation_menus/listing_menus.json +4 -4
- data/doc/api/admin/navigation_menus/removing_a_navigation_menu.json +4 -4
- data/doc/api/admin/navigation_menus/showing_a_navigation_menu.json +6 -6
- data/doc/api/admin/navigation_menus/updating_a_navigation_menus.json +4 -4
- data/doc/api/admin/navigation_taxonomy/bulk_upserting_navigation_taxons.json +4 -4
- data/doc/api/admin/navigation_taxonomy/creating_a_taxon.json +7 -7
- data/doc/api/admin/navigation_taxonomy/listing_taxons.json +4 -4
- data/doc/api/admin/navigation_taxonomy/removing_a_navigation_taxon.json +4 -4
- data/doc/api/admin/navigation_taxonomy/showing_a_navigation_taxon.json +6 -6
- data/doc/api/admin/navigation_taxonomy/updating_a_navigation_taxons.json +4 -4
- data/doc/api/admin/orders/listing_orders.json +4 -4
- data/doc/api/admin/orders/showing_an_order.json +4 -4
- data/doc/api/admin/orders/viewing_orders_by_date_range.json +8 -8
- data/doc/api/admin/pages/bulk_upserting_pages.json +4 -4
- data/doc/api/admin/pages/creating_a_page.json +7 -7
- data/doc/api/admin/pages/listing_pages.json +4 -4
- data/doc/api/admin/pages/removing_a_page.json +4 -4
- data/doc/api/admin/pages/showing_a_page.json +6 -6
- data/doc/api/admin/pages/updating_a_page.json +5 -5
- data/doc/api/admin/payment_profiles/bulk_upserting_payment_profiles.json +4 -4
- data/doc/api/admin/payment_profiles/creating_a_payment_profile.json +7 -7
- data/doc/api/admin/payment_profiles/listing_payment_profiles.json +4 -4
- data/doc/api/admin/payment_profiles/removing_a_payment_profile.json +4 -4
- data/doc/api/admin/payment_profiles/showing_a_payment_profile.json +6 -6
- data/doc/api/admin/payment_profiles/updating_a_payment_profiles.json +4 -4
- data/doc/api/admin/payment_transactions/listing_payment_transactions.json +4 -4
- data/doc/api/admin/payment_transactions/showing_a_payment_transaction.json +6 -6
- data/doc/api/admin/payments/listing_payments.json +4 -4
- data/doc/api/admin/payments/showing_an_payment.json +4 -4
- data/doc/api/admin/prices/creating_a_pricing_sku_price.json +4 -4
- data/doc/api/admin/prices/listing_pricing_sku_prices.json +4 -4
- data/doc/api/admin/prices/removing_a_pricing_sku_price.json +4 -4
- data/doc/api/admin/prices/updating_a_pricing_sku_price.json +4 -4
- data/doc/api/admin/pricing_skus/bulk_upserting_pricing_skus.json +4 -4
- data/doc/api/admin/pricing_skus/creating_an_pricing_sku.json +6 -6
- data/doc/api/admin/pricing_skus/listing_pricing_skus.json +4 -4
- data/doc/api/admin/pricing_skus/removing_an_pricing_sku.json +2 -2
- data/doc/api/admin/pricing_skus/showing_an_pricing_sku.json +4 -4
- data/doc/api/admin/pricing_skus/updating_an_pricing_sku.json +2 -2
- data/doc/api/admin/product_images/creating_a_product_image_from_base64.json +7 -7
- data/doc/api/admin/product_images/creating_a_product_image_from_url.json +7 -7
- data/doc/api/admin/product_images/listing_product_images.json +6 -6
- data/doc/api/admin/product_images/removing_a_product_image.json +4 -4
- data/doc/api/admin/product_images/updating_a_product_image.json +4 -4
- data/doc/api/admin/products/bulk_upserting_products.json +4 -4
- data/doc/api/admin/products/creating_a_product.json +7 -7
- data/doc/api/admin/products/listing_products.json +4 -4
- data/doc/api/admin/products/removing_a_product.json +4 -4
- data/doc/api/admin/products/showing_a_product.json +6 -6
- data/doc/api/admin/products/updating_a_product.json +5 -5
- data/doc/api/admin/promo_code_lists/bulk_upserting_promo_code_lists.json +4 -4
- data/doc/api/admin/promo_code_lists/creating_a_promo_code_list.json +7 -7
- data/doc/api/admin/promo_code_lists/listing_promo_code_lists.json +4 -4
- data/doc/api/admin/promo_code_lists/removing_a_promo_code_list.json +4 -4
- data/doc/api/admin/promo_code_lists/showing_a_promo_code_list.json +6 -6
- data/doc/api/admin/promo_code_lists/updating_a_promo_code_list.json +4 -4
- data/doc/api/admin/recommendation_settings/showing_recommendation_settings.json +6 -6
- data/doc/api/admin/recommendation_settings/updating_recommendation_settings.json +4 -4
- data/doc/api/admin/redirects/bulk_upserting_redirects.json +4 -4
- data/doc/api/admin/redirects/creating_a_redirect.json +7 -7
- data/doc/api/admin/redirects/listing_redirects.json +4 -4
- data/doc/api/admin/redirects/removing_a_redirect.json +4 -4
- data/doc/api/admin/redirects/showing_a_redirect.json +6 -6
- data/doc/api/admin/redirects/updating_a_redirects.json +4 -4
- data/doc/api/admin/release_changes/adding_changes_to_a_release.json +7 -7
- data/doc/api/admin/releases/bulk_upserting_releases.json +4 -4
- data/doc/api/admin/releases/creating_a_release.json +7 -7
- data/doc/api/admin/releases/listing_releases.json +4 -4
- data/doc/api/admin/releases/removing_a_release.json +4 -4
- data/doc/api/admin/releases/showing_a_release.json +6 -6
- data/doc/api/admin/releases/updating_a_release.json +5 -5
- data/doc/api/admin/saved_addresses/creating_a_saved_address.json +7 -7
- data/doc/api/admin/saved_addresses/listing_saved_address.json +6 -6
- data/doc/api/admin/saved_addresses/removing_a_saved_address.json +4 -4
- data/doc/api/admin/saved_addresses/updating_a_saved_address.json +4 -4
- data/doc/api/admin/saved_credit_cards/creating_a_saved_credit_card.json +8 -8
- data/doc/api/admin/saved_credit_cards/listing_saved_credit_cards.json +6 -6
- data/doc/api/admin/saved_credit_cards/removing_a_saved_credit_card.json +4 -4
- data/doc/api/admin/saved_credit_cards/updating_a_saved_credit_card.json +4 -4
- data/doc/api/admin/shipping/listing_shipments.json +4 -4
- data/doc/api/admin/shipping/showing_a_shipment.json +6 -6
- data/doc/api/admin/shipping_rates/creating_a_shipping_rate.json +7 -7
- data/doc/api/admin/shipping_rates/listing_shipping_rates.json +6 -6
- data/doc/api/admin/shipping_rates/removing_a_shipping_rate.json +4 -4
- data/doc/api/admin/shipping_rates/updating_a_shipping_rate.json +4 -4
- data/doc/api/admin/shipping_services/bulk_upserting_shipping_services.json +4 -4
- data/doc/api/admin/shipping_services/creating_a_shipping_service.json +7 -7
- data/doc/api/admin/shipping_services/listing_shipping_services.json +4 -4
- data/doc/api/admin/shipping_services/removing_a_shipping_service.json +4 -4
- data/doc/api/admin/shipping_services/showing_a_shipping_service.json +6 -6
- data/doc/api/admin/shipping_services/updating_a_shipping_service.json +5 -5
- data/doc/api/admin/tax_categories/bulk_upserting_tax_categories.json +4 -4
- data/doc/api/admin/tax_categories/creating_a_tax_category.json +7 -7
- data/doc/api/admin/tax_categories/listing_tax_categories.json +4 -4
- data/doc/api/admin/tax_categories/removing_a_tax_category.json +4 -4
- data/doc/api/admin/tax_categories/showing_a_tax_category.json +6 -6
- data/doc/api/admin/tax_categories/updating_a_tax_categories.json +4 -4
- data/doc/api/admin/tax_rates/creating_a_tax_rate.json +8 -8
- data/doc/api/admin/tax_rates/listing_tax_rates.json +6 -6
- data/doc/api/admin/tax_rates/removing_a_tax_rate.json +4 -4
- data/doc/api/admin/tax_rates/updating_a_tax_rate.json +4 -4
- data/doc/api/admin/users/bulk_upserting_users.json +4 -4
- data/doc/api/admin/users/creating_a_user.json +7 -7
- data/doc/api/admin/users/listing_users.json +4 -4
- data/doc/api/admin/users/removing_a_user.json +4 -4
- data/doc/api/admin/users/showing_a_user.json +6 -6
- data/doc/api/admin/users/updating_a_user.json +5 -5
- data/doc/api/admin/variants/creating_a_product_variant.json +6 -6
- data/doc/api/admin/variants/listing_product_variants.json +6 -6
- data/doc/api/admin/variants/removing_a_product_variant.json +4 -4
- data/doc/api/admin/variants/updating_a_product_variant.json +4 -4
- data/doc/api/storefront/accounts/creating_an_account.json +6 -6
- data/doc/api/storefront/accounts/getting_account_details.json +6 -6
- data/doc/api/storefront/accounts/updating_an_account.json +6 -6
- data/doc/api/storefront/analytics/saving_a_category_view.json +4 -4
- data/doc/api/storefront/analytics/saving_a_product_view.json +4 -4
- data/doc/api/storefront/analytics/saving_a_search.json +4 -4
- data/doc/api/storefront/assets/showing_an_asset.json +8 -8
- data/doc/api/storefront/authentication/creating_an_authentication_token.json +8 -8
- data/doc/api/storefront/authentication/refreshing_an_authentication_token.json +8 -8
- data/doc/api/storefront/authentication/using_an_authentication_token.json +9 -9
- data/doc/api/storefront/cart/adding_a_promo_code.json +9 -9
- data/doc/api/storefront/cart/adding_an_item.json +9 -9
- data/doc/api/storefront/cart/creating_a_new_cart_for_a_user.json +8 -8
- data/doc/api/storefront/cart/creating_a_new_guest_cart.json +6 -6
- data/doc/api/storefront/cart/delete_an_item.json +9 -9
- data/doc/api/storefront/cart/listing_user_s_carts.json +8 -8
- data/doc/api/storefront/cart/showing_cart.json +9 -9
- data/doc/api/storefront/cart/updating_an_item.json +9 -9
- data/doc/api/storefront/categories/showing_a_category.json +7 -7
- data/doc/api/storefront/categories/showing_a_listing_of_categories.json +7 -7
- data/doc/api/storefront/checkout/completing_a_checkout.json +8 -8
- data/doc/api/storefront/checkout/showing_a_checkout.json +8 -8
- data/doc/api/storefront/checkout/updating_a_checkout.json +8 -8
- data/doc/api/storefront/contacts/creating_a_contact.json +6 -6
- data/doc/api/storefront/email_signups/creating_an_email_signup.json +6 -6
- data/doc/api/storefront/email_signups/showing_an_email_signup_content.json +6 -6
- data/doc/api/storefront/menus/listing_menus.json +7 -7
- data/doc/api/storefront/menus/showing_a_menu.json +9 -9
- data/doc/api/storefront/orders/listing_the_user_s_orders.json +8 -8
- data/doc/api/storefront/orders/showing_an_order.json +9 -9
- data/doc/api/storefront/pages/showing_a_page.json +7 -7
- data/doc/api/storefront/password_resets/sending_a_forgot_password_email.json +6 -6
- data/doc/api/storefront/personalized_recommendations/showing_recommendations_with_a_session_id.json +10 -10
- data/doc/api/storefront/personalized_recommendations/showing_recommendations_with_authentication.json +8 -8
- data/doc/api/storefront/products/showing_a_product.json +7 -7
- data/doc/api/storefront/products/showing_a_product_with_a_specific_sku_selected.json +7 -7
- data/doc/api/storefront/recent_views/showing_recent_views_from_authentication.json +7 -7
- data/doc/api/storefront/recent_views/showing_recent_views_with_a_session_id.json +10 -10
- data/doc/api/storefront/recent_views/updating_recent_views_with_a_session_id.json +4 -4
- data/doc/api/storefront/recent_views/updating_recent_views_with_authentication.json +6 -6
- data/doc/api/storefront/saved_addresses/creating_a_saved_address.json +6 -6
- data/doc/api/storefront/saved_addresses/deleting_a_saved_address.json +5 -5
- data/doc/api/storefront/saved_addresses/listing_the_user_s_saved_addresses.json +8 -8
- data/doc/api/storefront/saved_addresses/showing_a_saved_address.json +7 -7
- data/doc/api/storefront/saved_addresses/updating_a_saved_address.json +7 -7
- data/doc/api/storefront/saved_credit_cards/creating_a_saved_credit_card.json +6 -6
- data/doc/api/storefront/saved_credit_cards/deleting_a_saved_credit_card.json +5 -5
- data/doc/api/storefront/saved_credit_cards/listing_the_user_s_saved_credit_cards.json +8 -8
- data/doc/api/storefront/saved_credit_cards/showing_a_saved_credit_card.json +7 -7
- data/doc/api/storefront/saved_credit_cards/updating_a_saved_credit_card.json +7 -7
- data/doc/api/storefront/searches/showing_search_autocomplete_suggestions.json +7 -7
- data/doc/api/storefront/searches/showing_search_results.json +7 -7
- data/doc/api/storefront/system_content/showing_system_content.json +7 -7
- data/doc/api/storefront/system_content/showing_the_home_page.json +7 -7
- data/doc/api/storefront/taxons/showing_a_taxon.json +9 -9
- data/doc/api/storefront/validation_errors/checkout_validation_errors.json +8 -8
- data/doc/api/storefront/validation_errors/general_validation_errors.json +4 -4
- data/lib/workarea/api/version.rb +1 -1
- data/storefront/LICENSE +52 -0
- data/storefront/README.md +4 -7
- data/storefront/workarea-api-storefront.gemspec +6 -5
- data/workarea-api.gemspec +3 -3
- metadata +13 -10
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "d6f02339-1f1c-41f0-a493-5ce5585ab2c6",
|
24
|
+
"X-Runtime": "0.118104",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
|
-
"request_path": "/api/admin/products/
|
28
|
+
"request_path": "/api/admin/products/0B84E05860/images/5d5ecaa1d4322a04dfbf6fef",
|
29
29
|
"request_body": "{\"image\":{\"name\":\"foo\"}}",
|
30
30
|
"request_content_type": "application/json",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/products/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/products/0B84E05860/images/5d5ecaa1d4322a04dfbf6fef\" -d '{\"image\":{\"name\":\"foo\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Product Images",
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "90ecd113-a046-44a4-9cfa-65de230bc280",
|
24
|
+
"X-Runtime": "0.433113",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
28
|
"request_path": "/api/admin/products/bulk",
|
29
|
-
"request_body": "{\"products\":[{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-
|
29
|
+
"request_body": "{\"products\":[{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-22T17:04:07.868Z\",\"customizations\":null,\"default_category_id\":null,\"description\":null,\"details\":{\"Material\":[\"Cotton\"],\"Style\":[\"12345\"]},\"digital\":false,\"filters\":{\"Material\":\"Cotton\",\"Style\":\"12345\"},\"meta_description\":null,\"name\":\"Test Product\",\"purchasable\":true,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-22T17:04:07.868Z\",\"variants\":[{\"_id\":\"5d5ecb07d4322a04dfbf73a0\",\"active\":true,\"created_at\":null,\"details\":{},\"name\":\"SKU\",\"position\":0,\"sku\":\"SKU\",\"updated_at\":null}]},{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-22T17:04:07.868Z\",\"customizations\":null,\"default_category_id\":null,\"description\":null,\"details\":{\"Material\":[\"Cotton\"],\"Style\":[\"12345\"]},\"digital\":false,\"filters\":{\"Material\":\"Cotton\",\"Style\":\"12345\"},\"meta_description\":null,\"name\":\"Test Product\",\"purchasable\":true,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-22T17:04:07.868Z\",\"variants\":[{\"_id\":\"5d5ecb07d4322a04dfbf73a0\",\"active\":true,\"created_at\":null,\"details\":{},\"name\":\"SKU\",\"position\":0,\"sku\":\"SKU\",\"updated_at\":null}]},{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-22T17:04:07.868Z\",\"customizations\":null,\"default_category_id\":null,\"description\":null,\"details\":{\"Material\":[\"Cotton\"],\"Style\":[\"12345\"]},\"digital\":false,\"filters\":{\"Material\":\"Cotton\",\"Style\":\"12345\"},\"meta_description\":null,\"name\":\"Test Product\",\"purchasable\":true,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-22T17:04:07.868Z\",\"variants\":[{\"_id\":\"5d5ecb07d4322a04dfbf73a0\",\"active\":true,\"created_at\":null,\"details\":{},\"name\":\"SKU\",\"position\":0,\"sku\":\"SKU\",\"updated_at\":null}]}]}",
|
30
30
|
"request_content_type": "application/json",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/products/bulk\" -d '{\"products\":[{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/products/bulk\" -d '{\"products\":[{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-22T17:04:07.868Z\",\"customizations\":null,\"default_category_id\":null,\"description\":null,\"details\":{\"Material\":[\"Cotton\"],\"Style\":[\"12345\"]},\"digital\":false,\"filters\":{\"Material\":\"Cotton\",\"Style\":\"12345\"},\"meta_description\":null,\"name\":\"Test Product\",\"purchasable\":true,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-22T17:04:07.868Z\",\"variants\":[{\"_id\":\"5d5ecb07d4322a04dfbf73a0\",\"active\":true,\"created_at\":null,\"details\":{},\"name\":\"SKU\",\"position\":0,\"sku\":\"SKU\",\"updated_at\":null}]},{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-22T17:04:07.868Z\",\"customizations\":null,\"default_category_id\":null,\"description\":null,\"details\":{\"Material\":[\"Cotton\"],\"Style\":[\"12345\"]},\"digital\":false,\"filters\":{\"Material\":\"Cotton\",\"Style\":\"12345\"},\"meta_description\":null,\"name\":\"Test Product\",\"purchasable\":true,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-22T17:04:07.868Z\",\"variants\":[{\"_id\":\"5d5ecb07d4322a04dfbf73a0\",\"active\":true,\"created_at\":null,\"details\":{},\"name\":\"SKU\",\"position\":0,\"sku\":\"SKU\",\"updated_at\":null}]},{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-22T17:04:07.868Z\",\"customizations\":null,\"default_category_id\":null,\"description\":null,\"details\":{\"Material\":[\"Cotton\"],\"Style\":[\"12345\"]},\"digital\":false,\"filters\":{\"Material\":\"Cotton\",\"Style\":\"12345\"},\"meta_description\":null,\"name\":\"Test Product\",\"purchasable\":true,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-22T17:04:07.868Z\",\"variants\":[{\"_id\":\"5d5ecb07d4322a04dfbf73a0\",\"active\":true,\"created_at\":null,\"details\":{},\"name\":\"SKU\",\"position\":0,\"sku\":\"SKU\",\"updated_at\":null}]}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Products",
|
@@ -19,24 +19,24 @@
|
|
19
19
|
"X-Download-Options": "noopen",
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
|
-
"Location": "/api/admin/products/
|
22
|
+
"Location": "/api/admin/products/58342004ED",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
|
-
"ETag": "W/\"
|
24
|
+
"ETag": "W/\"d3a14f7af31157992d2f20a4038b833c\"",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "7996506a-59f4-4425-8d0e-adf71e00dd1a",
|
27
|
+
"X-Runtime": "0.117606",
|
28
28
|
"Expires": "0",
|
29
29
|
"Content-Length": "670"
|
30
30
|
},
|
31
31
|
"request_method": "POST",
|
32
32
|
"request_path": "/api/admin/products",
|
33
|
-
"request_body": "{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-
|
33
|
+
"request_body": "{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-22T17:04:04.762Z\",\"customizations\":null,\"default_category_id\":null,\"description\":null,\"details\":{\"Material\":[\"Cotton\"],\"Style\":[\"12345\"]},\"digital\":false,\"filters\":{\"Material\":\"Cotton\",\"Style\":\"12345\"},\"meta_description\":null,\"name\":\"Test Product\",\"purchasable\":true,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-22T17:04:04.762Z\",\"variants\":[{\"_id\":\"5d5ecb04d4322a04dfbf738a\",\"active\":true,\"created_at\":null,\"details\":{},\"name\":\"SKU\",\"position\":0,\"sku\":\"SKU\",\"updated_at\":null}]}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 201,
|
36
36
|
"response_status_text": "Created",
|
37
|
-
"response_body": "{\n \"product\": {\n \"_id\": \"
|
37
|
+
"response_body": "{\n \"product\": {\n \"_id\": \"58342004ED\",\n \"active\": true,\n \"browser_title\": null,\n \"copied_from_id\": null,\n \"created_at\": \"2019-08-22T17:04:04.762Z\",\n \"customizations\": null,\n \"default_category_id\": null,\n \"description\": null,\n \"details\": {\n \"Material\": [\n \"Cotton\"\n ],\n \"Style\": [\n \"12345\"\n ]\n },\n \"digital\": false,\n \"filters\": {\n \"Material\": \"Cotton\",\n \"Style\": \"12345\"\n },\n \"last_indexed_at\": null,\n \"meta_description\": null,\n \"name\": \"Test Product\",\n \"purchasable\": true,\n \"slug\": \"test-product-1\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"template\": \"generic\",\n \"updated_at\": \"2019-08-22T17:04:04.762Z\",\n \"variants\": [\n {\n \"_id\": \"5d5ecb04d4322a04dfbf738a\",\n \"active\": true,\n \"created_at\": null,\n \"details\": {\n },\n \"name\": \"SKU\",\n \"position\": 0,\n \"sku\": \"SKU\",\n \"updated_at\": null\n }\n ]\n }\n}",
|
38
38
|
"response_content_type": "application/json",
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/products\" -d '{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/products\" -d '{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-22T17:04:04.762Z\",\"customizations\":null,\"default_category_id\":null,\"description\":null,\"details\":{\"Material\":[\"Cotton\"],\"Style\":[\"12345\"]},\"digital\":false,\"filters\":{\"Material\":\"Cotton\",\"Style\":\"12345\"},\"meta_description\":null,\"name\":\"Test Product\",\"purchasable\":true,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-22T17:04:04.762Z\",\"variants\":[{\"_id\":\"5d5ecb04d4322a04dfbf738a\",\"active\":true,\"created_at\":null,\"details\":{},\"name\":\"SKU\",\"position\":0,\"sku\":\"SKU\",\"updated_at\":null}]}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Products",
|
@@ -33,10 +33,10 @@
|
|
33
33
|
"X-Permitted-Cross-Domain-Policies": "none",
|
34
34
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
35
35
|
"Content-Type": "application/json; charset=utf-8",
|
36
|
-
"ETag": "W/\"
|
36
|
+
"ETag": "W/\"b3ec12709408190fe18014b2a8136bda\"",
|
37
37
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
38
|
-
"X-Request-Id": "
|
39
|
-
"X-Runtime": "0.
|
38
|
+
"X-Request-Id": "d47683ea-14ba-4498-b5bd-a38d2044e584",
|
39
|
+
"X-Runtime": "0.007696",
|
40
40
|
"Expires": "0",
|
41
41
|
"Content-Length": "1374"
|
42
42
|
},
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"request_content_type": null,
|
47
47
|
"response_status": 200,
|
48
48
|
"response_status_text": "OK",
|
49
|
-
"response_body": "{\n \"products\": [\n {\n \"_id\": \"
|
49
|
+
"response_body": "{\n \"products\": [\n {\n \"_id\": \"697138AC18\",\n \"active\": true,\n \"browser_title\": null,\n \"copied_from_id\": null,\n \"created_at\": \"2019-08-22T17:04:09.499Z\",\n \"customizations\": null,\n \"default_category_id\": null,\n \"description\": null,\n \"details\": {\n \"Material\": [\n \"Cotton\"\n ],\n \"Style\": [\n \"12345\"\n ]\n },\n \"digital\": false,\n \"filters\": {\n \"Material\": \"Cotton\",\n \"Style\": \"12345\"\n },\n \"last_indexed_at\": \"2019-08-22T17:04:09.654Z\",\n \"meta_description\": null,\n \"name\": \"Test Product\",\n \"purchasable\": true,\n \"slug\": \"test-product-1\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"template\": \"generic\",\n \"updated_at\": \"2019-08-22T17:04:09.499Z\",\n \"variants\": [\n {\n \"_id\": \"5d5ecb09d4322a04dfbf73b4\",\n \"active\": true,\n \"created_at\": null,\n \"details\": {\n },\n \"name\": \"SKU\",\n \"position\": 0,\n \"sku\": \"SKU\",\n \"updated_at\": null\n }\n ]\n },\n {\n \"_id\": \"CEC0655079\",\n \"active\": true,\n \"browser_title\": null,\n \"copied_from_id\": null,\n \"created_at\": \"2019-08-22T17:04:09.200Z\",\n \"customizations\": null,\n \"default_category_id\": null,\n \"description\": null,\n \"details\": {\n \"Material\": [\n \"Cotton\"\n ],\n \"Style\": [\n \"12345\"\n ]\n },\n \"digital\": false,\n \"filters\": {\n \"Material\": \"Cotton\",\n \"Style\": \"12345\"\n },\n \"last_indexed_at\": \"2019-08-22T17:04:09.489Z\",\n \"meta_description\": null,\n \"name\": \"Test Product\",\n \"purchasable\": true,\n \"slug\": \"test-product\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"template\": \"generic\",\n \"updated_at\": \"2019-08-22T17:04:09.379Z\",\n \"variants\": [\n {\n \"_id\": \"5d5ecb09d4322a04dfbf73b2\",\n \"active\": true,\n \"created_at\": null,\n \"details\": {\n },\n \"name\": \"SKU\",\n \"position\": 0,\n \"sku\": \"SKU\",\n \"updated_at\": null\n }\n ]\n }\n ]\n}",
|
50
50
|
"response_content_type": "application/json",
|
51
51
|
"curl": "curl -g \"https://www.example.com/api/admin/products?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
|
52
52
|
}
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "f2c3e75a-9876-49a7-94f3-9f96af35e653",
|
24
|
+
"X-Runtime": "0.030950",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "DELETE",
|
28
|
-
"request_path": "/api/admin/products/
|
28
|
+
"request_path": "/api/admin/products/45691AF073",
|
29
29
|
"request_body": null,
|
30
30
|
"request_content_type": "application/json",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/products/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/products/45691AF073\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Products",
|
@@ -19,22 +19,22 @@
|
|
19
19
|
"X-Permitted-Cross-Domain-Policies": "none",
|
20
20
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
21
21
|
"Content-Type": "application/json; charset=utf-8",
|
22
|
-
"ETag": "W/\"
|
22
|
+
"ETag": "W/\"3d8961c247cbc3faa63cce0a0fe731d8\"",
|
23
23
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
24
|
-
"X-Request-Id": "
|
25
|
-
"X-Runtime": "0.
|
24
|
+
"X-Request-Id": "c3e79898-f72c-4d40-95b3-dba1889b8f97",
|
25
|
+
"X-Runtime": "0.007918",
|
26
26
|
"Expires": "0",
|
27
27
|
"Content-Length": "690"
|
28
28
|
},
|
29
29
|
"request_method": "GET",
|
30
|
-
"request_path": "/api/admin/products/
|
30
|
+
"request_path": "/api/admin/products/7641326D8A",
|
31
31
|
"request_body": null,
|
32
32
|
"request_content_type": null,
|
33
33
|
"response_status": 200,
|
34
34
|
"response_status_text": "OK",
|
35
|
-
"response_body": "{\n \"product\": {\n \"_id\": \"
|
35
|
+
"response_body": "{\n \"product\": {\n \"_id\": \"7641326D8A\",\n \"active\": true,\n \"browser_title\": null,\n \"copied_from_id\": null,\n \"created_at\": \"2019-08-22T17:04:10.368Z\",\n \"customizations\": null,\n \"default_category_id\": null,\n \"description\": null,\n \"details\": {\n \"Material\": [\n \"Cotton\"\n ],\n \"Style\": [\n \"12345\"\n ]\n },\n \"digital\": false,\n \"filters\": {\n \"Material\": \"Cotton\",\n \"Style\": \"12345\"\n },\n \"last_indexed_at\": \"2019-08-22T17:04:10.520Z\",\n \"meta_description\": null,\n \"name\": \"Test Product\",\n \"purchasable\": true,\n \"slug\": \"test-product\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"template\": \"generic\",\n \"updated_at\": \"2019-08-22T17:04:10.368Z\",\n \"variants\": [\n {\n \"_id\": \"5d5ecb0ad4322a04dfbf73b9\",\n \"active\": true,\n \"created_at\": null,\n \"details\": {\n },\n \"name\": \"SKU\",\n \"position\": 0,\n \"sku\": \"SKU\",\n \"updated_at\": null\n }\n ]\n }\n}",
|
36
36
|
"response_content_type": "application/json",
|
37
|
-
"curl": "curl -g \"https://www.example.com/api/admin/products/
|
37
|
+
"curl": "curl -g \"https://www.example.com/api/admin/products/7641326D8A\" -X GET "
|
38
38
|
}
|
39
39
|
],
|
40
40
|
"resource": "Products",
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "a4ea3208-cec8-43c6-8c5d-13b6eba53bf5",
|
24
|
+
"X-Runtime": "0.094971",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
|
-
"request_path": "/api/admin/products/
|
29
|
-
"request_body": "{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-
|
28
|
+
"request_path": "/api/admin/products/5556C8E495",
|
29
|
+
"request_body": "{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-22T17:04:06.961Z\",\"customizations\":null,\"default_category_id\":null,\"description\":null,\"details\":{\"Material\":[\"Cotton\"],\"Style\":[\"12345\"]},\"digital\":false,\"filters\":{\"Material\":\"Cotton\",\"Style\":\"12345\"},\"meta_description\":null,\"name\":\"Test Product\",\"purchasable\":true,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-22T17:04:06.961Z\",\"variants\":[{\"_id\":\"5d5ecb06d4322a04dfbf7399\",\"active\":true,\"created_at\":null,\"details\":{},\"name\":\"SKU\",\"position\":0,\"sku\":\"SKU\",\"updated_at\":null}]}",
|
30
30
|
"request_content_type": "application/json",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/products/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/products/5556C8E495\" -d '{\"active\":true,\"browser_title\":null,\"copied_from_id\":null,\"created_at\":\"2019-08-22T17:04:06.961Z\",\"customizations\":null,\"default_category_id\":null,\"description\":null,\"details\":{\"Material\":[\"Cotton\"],\"Style\":[\"12345\"]},\"digital\":false,\"filters\":{\"Material\":\"Cotton\",\"Style\":\"12345\"},\"meta_description\":null,\"name\":\"Test Product\",\"purchasable\":true,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2019-08-22T17:04:06.961Z\",\"variants\":[{\"_id\":\"5d5ecb06d4322a04dfbf7399\",\"active\":true,\"created_at\":null,\"details\":{},\"name\":\"SKU\",\"position\":0,\"sku\":\"SKU\",\"updated_at\":null}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Products",
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "bf11bddf-70b4-4cf8-9ff1-66d8a41dde45",
|
24
|
+
"X-Runtime": "0.092302",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
28
|
"request_path": "/api/admin/promo_code_lists/bulk",
|
29
|
-
"request_body": "{\"promo_code_lists\":[{\"count\":2,\"created_at\":\"2019-08-
|
29
|
+
"request_body": "{\"promo_code_lists\":[{\"count\":2,\"created_at\":\"2019-08-22T17:04:25.792Z\",\"expires_at\":null,\"generation_completed_at\":null,\"name\":\"Test Code List\",\"prefix\":null,\"updated_at\":\"2019-08-22T17:04:25.792Z\"},{\"count\":2,\"created_at\":\"2019-08-22T17:04:25.792Z\",\"expires_at\":null,\"generation_completed_at\":null,\"name\":\"Test Code List\",\"prefix\":null,\"updated_at\":\"2019-08-22T17:04:25.792Z\"},{\"count\":2,\"created_at\":\"2019-08-22T17:04:25.792Z\",\"expires_at\":null,\"generation_completed_at\":null,\"name\":\"Test Code List\",\"prefix\":null,\"updated_at\":\"2019-08-22T17:04:25.792Z\"}]}",
|
30
30
|
"request_content_type": "application/json",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/promo_code_lists/bulk\" -d '{\"promo_code_lists\":[{\"count\":2,\"created_at\":\"2019-08-
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/promo_code_lists/bulk\" -d '{\"promo_code_lists\":[{\"count\":2,\"created_at\":\"2019-08-22T17:04:25.792Z\",\"expires_at\":null,\"generation_completed_at\":null,\"name\":\"Test Code List\",\"prefix\":null,\"updated_at\":\"2019-08-22T17:04:25.792Z\"},{\"count\":2,\"created_at\":\"2019-08-22T17:04:25.792Z\",\"expires_at\":null,\"generation_completed_at\":null,\"name\":\"Test Code List\",\"prefix\":null,\"updated_at\":\"2019-08-22T17:04:25.792Z\"},{\"count\":2,\"created_at\":\"2019-08-22T17:04:25.792Z\",\"expires_at\":null,\"generation_completed_at\":null,\"name\":\"Test Code List\",\"prefix\":null,\"updated_at\":\"2019-08-22T17:04:25.792Z\"}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Promo Code Lists",
|
@@ -19,24 +19,24 @@
|
|
19
19
|
"X-Download-Options": "noopen",
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
|
-
"Location": "/api/admin/promo_code_lists/
|
22
|
+
"Location": "/api/admin/promo_code_lists/5d5ecb1cd4322a04dfbf7474",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
|
-
"ETag": "W/\"
|
24
|
+
"ETag": "W/\"fb38984be07ff37ed4bf0d1c3662ef6d\"",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "a5563675-e4a1-44f8-ba9b-b0d17d868aa5",
|
27
|
+
"X-Runtime": "0.032553",
|
28
28
|
"Expires": "0",
|
29
29
|
"Content-Length": "231"
|
30
30
|
},
|
31
31
|
"request_method": "POST",
|
32
32
|
"request_path": "/api/admin/promo_code_lists",
|
33
|
-
"request_body": "{\"promo_code_list\":{\"count\":2,\"created_at\":\"2019-08-
|
33
|
+
"request_body": "{\"promo_code_list\":{\"count\":2,\"created_at\":\"2019-08-22T17:04:28.476Z\",\"expires_at\":null,\"generation_completed_at\":null,\"name\":\"Test Code List\",\"prefix\":null,\"updated_at\":\"2019-08-22T17:04:28.476Z\"}}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 201,
|
36
36
|
"response_status_text": "Created",
|
37
|
-
"response_body": "{\n \"promo_code_list\": {\n \"_id\": \"
|
37
|
+
"response_body": "{\n \"promo_code_list\": {\n \"_id\": \"5d5ecb1cd4322a04dfbf7474\",\n \"count\": 2,\n \"created_at\": \"2019-08-22T17:04:28.476Z\",\n \"expires_at\": null,\n \"generation_completed_at\": null,\n \"name\": \"Test Code List\",\n \"prefix\": null,\n \"updated_at\": \"2019-08-22T17:04:28.476Z\"\n }\n}",
|
38
38
|
"response_content_type": "application/json",
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/promo_code_lists\" -d '{\"promo_code_list\":{\"count\":2,\"created_at\":\"2019-08-
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/promo_code_lists\" -d '{\"promo_code_list\":{\"count\":2,\"created_at\":\"2019-08-22T17:04:28.476Z\",\"expires_at\":null,\"generation_completed_at\":null,\"name\":\"Test Code List\",\"prefix\":null,\"updated_at\":\"2019-08-22T17:04:28.476Z\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Promo Code Lists",
|
@@ -33,10 +33,10 @@
|
|
33
33
|
"X-Permitted-Cross-Domain-Policies": "none",
|
34
34
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
35
35
|
"Content-Type": "application/json; charset=utf-8",
|
36
|
-
"ETag": "W/\"
|
36
|
+
"ETag": "W/\"45102d7e64862495d4e92254b9017d7e\"",
|
37
37
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
38
|
-
"X-Request-Id": "
|
39
|
-
"X-Runtime": "0.
|
38
|
+
"X-Request-Id": "b8754d31-eefa-4f9c-afbf-8c8231f150ae",
|
39
|
+
"X-Runtime": "0.007887",
|
40
40
|
"Expires": "0",
|
41
41
|
"Content-Length": "490"
|
42
42
|
},
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"request_content_type": null,
|
47
47
|
"response_status": 200,
|
48
48
|
"response_status_text": "OK",
|
49
|
-
"response_body": "{\n \"promo_code_lists\": [\n {\n \"_id\": \"
|
49
|
+
"response_body": "{\n \"promo_code_lists\": [\n {\n \"_id\": \"5d5ecb1dd4322a04dfbf7481\",\n \"count\": 2,\n \"created_at\": \"2019-08-22T17:04:29.184Z\",\n \"expires_at\": null,\n \"generation_completed_at\": \"2019-08-22T17:04:29.193Z\",\n \"name\": \"Test Code List\",\n \"prefix\": null,\n \"updated_at\": \"2019-08-22T17:04:29.196Z\"\n },\n {\n \"_id\": \"5d5ecb1dd4322a04dfbf747e\",\n \"count\": 2,\n \"created_at\": \"2019-08-22T17:04:29.169Z\",\n \"expires_at\": null,\n \"generation_completed_at\": \"2019-08-22T17:04:29.177Z\",\n \"name\": \"Test Code List\",\n \"prefix\": null,\n \"updated_at\": \"2019-08-22T17:04:29.180Z\"\n }\n ]\n}",
|
50
50
|
"response_content_type": "application/json",
|
51
51
|
"curl": "curl -g \"https://www.example.com/api/admin/promo_code_lists?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
|
52
52
|
}
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "2f35259d-cfbb-47a4-aa70-310bb3014288",
|
24
|
+
"X-Runtime": "0.013088",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "DELETE",
|
28
|
-
"request_path": "/api/admin/promo_code_lists/
|
28
|
+
"request_path": "/api/admin/promo_code_lists/5d5ecb1ad4322a04dfbf745d",
|
29
29
|
"request_body": null,
|
30
30
|
"request_content_type": "application/x-www-form-urlencoded",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/promo_code_lists/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/promo_code_lists/5d5ecb1ad4322a04dfbf745d\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Promo Code Lists",
|
@@ -19,22 +19,22 @@
|
|
19
19
|
"X-Permitted-Cross-Domain-Policies": "none",
|
20
20
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
21
21
|
"Content-Type": "application/json; charset=utf-8",
|
22
|
-
"ETag": "W/\"
|
22
|
+
"ETag": "W/\"0ff2a35096f73967495400b64abe115a\"",
|
23
23
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
24
|
-
"X-Request-Id": "
|
25
|
-
"X-Runtime": "0.
|
24
|
+
"X-Request-Id": "0609d1f2-ea84-4ee8-a1f0-226a94785428",
|
25
|
+
"X-Runtime": "0.006723",
|
26
26
|
"Expires": "0",
|
27
27
|
"Content-Length": "253"
|
28
28
|
},
|
29
29
|
"request_method": "GET",
|
30
|
-
"request_path": "/api/admin/promo_code_lists/
|
30
|
+
"request_path": "/api/admin/promo_code_lists/5d5ecb1bd4322a04dfbf7464",
|
31
31
|
"request_body": null,
|
32
32
|
"request_content_type": null,
|
33
33
|
"response_status": 200,
|
34
34
|
"response_status_text": "OK",
|
35
|
-
"response_body": "{\n \"promo_code_list\": {\n \"_id\": \"
|
35
|
+
"response_body": "{\n \"promo_code_list\": {\n \"_id\": \"5d5ecb1bd4322a04dfbf7464\",\n \"count\": 2,\n \"created_at\": \"2019-08-22T17:04:27.187Z\",\n \"expires_at\": null,\n \"generation_completed_at\": \"2019-08-22T17:04:27.195Z\",\n \"name\": \"Test Code List\",\n \"prefix\": null,\n \"updated_at\": \"2019-08-22T17:04:27.198Z\"\n }\n}",
|
36
36
|
"response_content_type": "application/json",
|
37
|
-
"curl": "curl -g \"https://www.example.com/api/admin/promo_code_lists/
|
37
|
+
"curl": "curl -g \"https://www.example.com/api/admin/promo_code_lists/5d5ecb1bd4322a04dfbf7464\" -X GET "
|
38
38
|
}
|
39
39
|
],
|
40
40
|
"resource": "Promo Code Lists",
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "01dba596-2395-445d-9b02-91c9240de6e8",
|
24
|
+
"X-Runtime": "0.011667",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
|
-
"request_path": "/api/admin/promo_code_lists/
|
28
|
+
"request_path": "/api/admin/promo_code_lists/5d5ecb1bd4322a04dfbf746a",
|
29
29
|
"request_body": "{\"promo_code_list\":{\"name\":\"foo\"}}",
|
30
30
|
"request_content_type": "application/json",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/promo_code_lists/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/promo_code_lists/5d5ecb1bd4322a04dfbf746a\" -d '{\"promo_code_list\":{\"name\":\"foo\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Promo Code Lists",
|
@@ -19,22 +19,22 @@
|
|
19
19
|
"X-Permitted-Cross-Domain-Policies": "none",
|
20
20
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
21
21
|
"Content-Type": "application/json; charset=utf-8",
|
22
|
-
"ETag": "W/\"
|
22
|
+
"ETag": "W/\"12c74ce1cbd0bec63bb34bd62d495738\"",
|
23
23
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
24
|
-
"X-Request-Id": "
|
25
|
-
"X-Runtime": "0.
|
24
|
+
"X-Request-Id": "e3724aee-ffca-4031-8e66-023fc0c9838a",
|
25
|
+
"X-Runtime": "0.006697",
|
26
26
|
"Expires": "0",
|
27
27
|
"Content-Length": "188"
|
28
28
|
},
|
29
29
|
"request_method": "GET",
|
30
|
-
"request_path": "/api/admin/products/
|
30
|
+
"request_path": "/api/admin/products/B856B3EB1C/recommendation_settings",
|
31
31
|
"request_body": null,
|
32
32
|
"request_content_type": null,
|
33
33
|
"response_status": 200,
|
34
34
|
"response_status_text": "OK",
|
35
|
-
"response_body": "{\n \"recommendation_settings\": {\n \"_id\": \"
|
35
|
+
"response_body": "{\n \"recommendation_settings\": {\n \"_id\": \"B856B3EB1C\",\n \"created_at\": \"2019-08-22T17:01:22.341Z\",\n \"product_ids\": [\n\n ],\n \"sources\": [\n \"custom\",\n \"similar\",\n \"purchased\"\n ],\n \"updated_at\": \"2019-08-22T17:01:22.341Z\"\n }\n}",
|
36
36
|
"response_content_type": "application/json",
|
37
|
-
"curl": "curl -g \"https://www.example.com/api/admin/products/
|
37
|
+
"curl": "curl -g \"https://www.example.com/api/admin/products/B856B3EB1C/recommendation_settings\" -X GET "
|
38
38
|
}
|
39
39
|
],
|
40
40
|
"resource": "Recommendation Settings",
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "92e2dcc5-d05a-4f9e-9d06-155de908023e",
|
24
|
+
"X-Runtime": "0.010653",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
|
-
"request_path": "/api/admin/products/
|
28
|
+
"request_path": "/api/admin/products/C24D232E92/recommendation_settings",
|
29
29
|
"request_body": "{\"recommendation_settings\":{\"product_ids\":[\"foo\"]}}",
|
30
30
|
"request_content_type": "application/json",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/products/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/products/C24D232E92/recommendation_settings\" -d '{\"recommendation_settings\":{\"product_ids\":[\"foo\"]}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Recommendation Settings",
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "85698d6d-1e4f-4b0f-b3fd-2fc2d8737016",
|
24
|
+
"X-Runtime": "0.037441",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
28
|
"request_path": "/api/admin/redirects/bulk",
|
29
|
-
"request_body": "{\"redirects\":[{\"created_at\":\"2019-08-
|
29
|
+
"request_body": "{\"redirects\":[{\"created_at\":\"2019-08-22T17:04:50.498Z\",\"destination\":\"/pages/faq\",\"path\":\"/foo0\",\"updated_at\":\"2019-08-22T17:04:50.498Z\"},{\"created_at\":\"2019-08-22T17:04:50.498Z\",\"destination\":\"/pages/faq\",\"path\":\"/foo1\",\"updated_at\":\"2019-08-22T17:04:50.498Z\"},{\"created_at\":\"2019-08-22T17:04:50.498Z\",\"destination\":\"/pages/faq\",\"path\":\"/foo1\",\"updated_at\":\"2019-08-22T17:04:50.498Z\"}]}",
|
30
30
|
"request_content_type": "application/json",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/redirects/bulk\" -d '{\"redirects\":[{\"created_at\":\"2019-08-
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/redirects/bulk\" -d '{\"redirects\":[{\"created_at\":\"2019-08-22T17:04:50.498Z\",\"destination\":\"/pages/faq\",\"path\":\"/foo0\",\"updated_at\":\"2019-08-22T17:04:50.498Z\"},{\"created_at\":\"2019-08-22T17:04:50.498Z\",\"destination\":\"/pages/faq\",\"path\":\"/foo1\",\"updated_at\":\"2019-08-22T17:04:50.498Z\"},{\"created_at\":\"2019-08-22T17:04:50.498Z\",\"destination\":\"/pages/faq\",\"path\":\"/foo1\",\"updated_at\":\"2019-08-22T17:04:50.498Z\"}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Redirects",
|
@@ -19,24 +19,24 @@
|
|
19
19
|
"X-Download-Options": "noopen",
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
|
-
"Location": "/api/admin/redirects/
|
22
|
+
"Location": "/api/admin/redirects/5d5ecb31d4322a04dfbf7543",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
|
-
"ETag": "W/\"
|
24
|
+
"ETag": "W/\"feb2522db9ebc170c8c5b3db9cf47029\"",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "ba69b75f-9e39-4b08-aadb-246c6ab9f69e",
|
27
|
+
"X-Runtime": "0.011981",
|
28
28
|
"Expires": "0",
|
29
29
|
"Content-Length": "168"
|
30
30
|
},
|
31
31
|
"request_method": "POST",
|
32
32
|
"request_path": "/api/admin/redirects",
|
33
|
-
"request_body": "{\"redirect\":{\"created_at\":\"2019-08-
|
33
|
+
"request_body": "{\"redirect\":{\"created_at\":\"2019-08-22T17:04:49.295Z\",\"destination\":\"/pages/faq\",\"path\":\"/foo\",\"updated_at\":\"2019-08-22T17:04:49.295Z\"}}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 201,
|
36
36
|
"response_status_text": "Created",
|
37
|
-
"response_body": "{\n \"redirect\": {\n \"_id\": \"
|
37
|
+
"response_body": "{\n \"redirect\": {\n \"_id\": \"5d5ecb31d4322a04dfbf7543\",\n \"created_at\": \"2019-08-22T17:04:49.295Z\",\n \"destination\": \"/pages/faq\",\n \"path\": \"/foo\",\n \"updated_at\": \"2019-08-22T17:04:49.295Z\"\n }\n}",
|
38
38
|
"response_content_type": "application/json",
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/redirects\" -d '{\"redirect\":{\"created_at\":\"2019-08-
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/redirects\" -d '{\"redirect\":{\"created_at\":\"2019-08-22T17:04:49.295Z\",\"destination\":\"/pages/faq\",\"path\":\"/foo\",\"updated_at\":\"2019-08-22T17:04:49.295Z\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Redirects",
|