workarea-api 4.5.4 → 4.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/Rakefile +12 -12
- data/doc/api/admin/categories/bulk_upserting_categories.json +5 -5
- 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 +5 -5
- data/doc/api/admin/categories/showing_a_category.json +6 -6
- data/doc/api/admin/categories/updating_a_category.json +6 -6
- 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 +5 -5
- data/doc/api/admin/category_product_rules/updating_a_category_product_rule.json +5 -5
- data/doc/api/admin/content/bulk_upserting_content.json +5 -5
- 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 +5 -5
- data/doc/api/admin/content_assets/bulk_upserting_content_assets.json +5 -5
- data/doc/api/admin/content_assets/creating_a_content_asset.json +7 -7
- data/doc/api/admin/content_assets/listing_content_assets.json +4 -4
- data/doc/api/admin/content_assets/removing_a_content_asset.json +5 -5
- data/doc/api/admin/content_assets/showing_a_content_asset.json +6 -6
- data/doc/api/admin/content_assets/updating_a_content_asset.json +6 -6
- 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 +5 -5
- data/doc/api/admin/discounts/showing_a_discount.json +6 -6
- data/doc/api/admin/discounts/updating_discounts.json +5 -5
- data/doc/api/admin/email_signups/listing_email_signups.json +4 -4
- data/doc/api/admin/email_signups/showing_an_email_signup_by_email.json +4 -4
- data/doc/api/admin/email_signups/showing_an_email_signup_by_id.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/global_functionality/dealing_with_locales.json +11 -11
- data/doc/api/admin/global_functionality/filtering_by_created_at_time_stamp.json +8 -8
- data/doc/api/admin/global_functionality/filtering_by_updated_time_stamp.json +8 -8
- data/doc/api/admin/global_functionality/paging_results.json +4 -4
- data/doc/api/admin/global_functionality/retrieving_addtional_pages_of_results.json +3 -3
- data/doc/api/admin/global_functionality/sorting_results.json +4 -4
- data/doc/api/admin/inventory_skus/bulk_upserting_inventory_skus.json +5 -5
- 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 +3 -3
- data/doc/api/admin/inventory_skus/showing_an_inventory_sku.json +4 -4
- data/doc/api/admin/inventory_skus/updating_an_inventory_sku.json +3 -3
- 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 +5 -5
- data/doc/api/admin/navigation_menus/showing_a_navigation_menu.json +6 -6
- data/doc/api/admin/navigation_menus/updating_a_navigation_menus.json +5 -5
- data/doc/api/admin/navigation_taxonomy/bulk_upserting_navigation_taxons.json +5 -5
- 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 +5 -5
- data/doc/api/admin/navigation_taxonomy/showing_a_navigation_taxon.json +6 -6
- data/doc/api/admin/navigation_taxonomy/updating_a_navigation_taxons.json +5 -5
- data/doc/api/admin/orders/listing_orders.json +4 -4
- data/doc/api/admin/orders/showing_an_order.json +5 -5
- data/doc/api/admin/orders/viewing_orders_by_date_range.json +8 -8
- data/doc/api/admin/pages/bulk_upserting_pages.json +5 -5
- 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 +5 -5
- data/doc/api/admin/pages/showing_a_page.json +6 -6
- data/doc/api/admin/pages/updating_a_page.json +6 -6
- data/doc/api/admin/payment_profiles/bulk_upserting_payment_profiles.json +5 -5
- 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 +5 -5
- data/doc/api/admin/payment_profiles/showing_a_payment_profile.json +6 -6
- data/doc/api/admin/payment_profiles/updating_a_payment_profiles.json +5 -5
- 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 +5 -5
- data/doc/api/admin/prices/updating_a_pricing_sku_price.json +5 -5
- data/doc/api/admin/pricing_skus/bulk_upserting_pricing_skus.json +5 -5
- 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 +3 -3
- data/doc/api/admin/pricing_skus/showing_an_pricing_sku.json +4 -4
- data/doc/api/admin/pricing_skus/updating_an_pricing_sku.json +3 -3
- 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 +7 -7
- data/doc/api/admin/product_images/removing_a_product_image.json +5 -5
- data/doc/api/admin/product_images/updating_a_product_image.json +5 -5
- data/doc/api/admin/products/bulk_upserting_products.json +5 -5
- 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 +5 -5
- data/doc/api/admin/products/showing_a_product.json +6 -6
- data/doc/api/admin/products/updating_a_product.json +6 -6
- data/doc/api/admin/promo_code_lists/bulk_upserting_promo_code_lists.json +5 -5
- 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 +5 -5
- 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 +5 -5
- data/doc/api/admin/recommendation_settings/showing_recommendation_settings.json +6 -6
- data/doc/api/admin/recommendation_settings/updating_recommendation_settings.json +5 -5
- data/doc/api/admin/redirects/bulk_upserting_redirects.json +5 -5
- 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 +5 -5
- data/doc/api/admin/redirects/showing_a_redirect.json +6 -6
- data/doc/api/admin/redirects/updating_a_redirects.json +5 -5
- data/doc/api/admin/release_changes/adding_changes_to_a_release.json +6 -6
- data/doc/api/admin/releases/bulk_upserting_releases.json +5 -5
- 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 +5 -5
- data/doc/api/admin/releases/showing_a_release.json +6 -6
- data/doc/api/admin/releases/updating_a_release.json +6 -6
- 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 +5 -5
- data/doc/api/admin/saved_addresses/updating_a_saved_address.json +5 -5
- 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 +5 -5
- data/doc/api/admin/saved_credit_cards/updating_a_saved_credit_card.json +5 -5
- 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 +5 -5
- data/doc/api/admin/shipping_rates/updating_a_shipping_rate.json +5 -5
- data/doc/api/admin/shipping_services/bulk_upserting_shipping_services.json +5 -5
- 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 +5 -5
- data/doc/api/admin/shipping_services/showing_a_shipping_service.json +7 -7
- data/doc/api/admin/shipping_services/updating_a_shipping_service.json +6 -6
- data/doc/api/admin/tax_categories/bulk_upserting_tax_categories.json +5 -5
- data/doc/api/admin/tax_categories/creating_a_tax_category.json +7 -7
- data/doc/api/admin/tax_categories/listing_tax_categories.json +5 -5
- data/doc/api/admin/tax_categories/removing_a_tax_category.json +5 -5
- data/doc/api/admin/tax_categories/showing_a_tax_category.json +7 -7
- data/doc/api/admin/tax_categories/updating_a_tax_categories.json +5 -5
- 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 +5 -5
- data/doc/api/admin/tax_rates/updating_a_tax_rate.json +5 -5
- data/doc/api/admin/users/bulk_upserting_users.json +5 -5
- 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 +5 -5
- data/doc/api/admin/users/showing_a_user_by_email.json +4 -4
- data/doc/api/admin/users/showing_a_user_by_id.json +6 -6
- data/doc/api/admin/users/updating_a_user.json +6 -6
- data/doc/api/admin/variants/creating_a_product_variant.json +6 -6
- data/doc/api/admin/variants/listing_product_variants.json +7 -7
- data/doc/api/admin/variants/removing_a_product_variant.json +5 -5
- data/doc/api/admin/variants/updating_a_product_variant.json +5 -5
- data/doc/api/storefront/accounts/creating_an_account.json +4 -4
- data/doc/api/storefront/accounts/getting_account_details.json +7 -7
- data/doc/api/storefront/accounts/updating_an_account.json +7 -7
- data/doc/api/storefront/analytics/saving_a_category_view.json +3 -3
- data/doc/api/storefront/analytics/saving_a_product_view.json +3 -3
- data/doc/api/storefront/analytics/saving_a_search.json +3 -3
- data/doc/api/storefront/assets/showing_an_asset.json +6 -6
- data/doc/api/storefront/authentication/creating_an_authentication_token.json +6 -6
- data/doc/api/storefront/authentication/refreshing_an_authentication_token.json +6 -6
- data/doc/api/storefront/authentication/using_an_authentication_token.json +6 -6
- data/doc/api/storefront/cart/adding_a_promo_code.json +7 -7
- data/doc/api/storefront/cart/adding_an_item.json +7 -7
- data/doc/api/storefront/cart/creating_a_new_cart_for_a_user.json +6 -6
- data/doc/api/storefront/cart/creating_a_new_guest_cart.json +4 -4
- data/doc/api/storefront/cart/delete_an_item.json +7 -7
- data/doc/api/storefront/cart/listing_user_s_carts.json +6 -6
- data/doc/api/storefront/cart/showing_cart.json +7 -7
- data/doc/api/storefront/cart/updating_an_item.json +7 -7
- data/doc/api/storefront/categories/showing_a_category.json +5 -5
- data/doc/api/storefront/categories/showing_a_listing_of_categories.json +5 -5
- data/doc/api/storefront/checkout/completing_a_checkout.json +7 -7
- data/doc/api/storefront/checkout/failure_to_update_a_checkout.json +52 -0
- data/doc/api/storefront/checkout/showing_a_checkout.json +6 -6
- data/doc/api/storefront/checkout/updating_a_checkout.json +6 -6
- data/doc/api/storefront/contacts/creating_a_contact.json +4 -4
- data/doc/api/storefront/email_signups/creating_an_email_signup.json +4 -4
- data/doc/api/storefront/email_signups/showing_an_email_signup_content.json +4 -4
- data/doc/api/storefront/index.json +7 -0
- data/doc/api/storefront/menus/listing_menus.json +5 -5
- data/doc/api/storefront/menus/showing_a_menu.json +7 -7
- data/doc/api/storefront/orders/listing_the_user_s_orders.json +6 -6
- data/doc/api/storefront/orders/showing_an_order.json +7 -7
- data/doc/api/storefront/pages/showing_a_page.json +5 -5
- data/doc/api/storefront/password_resets/sending_a_forgot_password_email.json +5 -5
- data/doc/api/storefront/personalized_recommendations/showing_recommendations_with_a_session_id.json +8 -8
- data/doc/api/storefront/personalized_recommendations/showing_recommendations_with_authentication.json +6 -6
- data/doc/api/storefront/products/showing_a_product.json +5 -5
- data/doc/api/storefront/products/showing_a_product_with_a_specific_sku_selected.json +5 -5
- data/doc/api/storefront/recent_views/showing_recent_views_from_authentication.json +6 -6
- data/doc/api/storefront/recent_views/showing_recent_views_with_a_session_id.json +7 -7
- data/doc/api/storefront/recent_views/updating_recent_views_with_a_session_id.json +3 -3
- data/doc/api/storefront/recent_views/updating_recent_views_with_authentication.json +5 -5
- data/doc/api/storefront/saved_addresses/creating_a_saved_address.json +6 -6
- data/doc/api/storefront/saved_addresses/deleting_a_saved_address.json +6 -6
- data/doc/api/storefront/saved_addresses/listing_the_user_s_saved_addresses.json +6 -6
- 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 +7 -7
- data/doc/api/storefront/saved_credit_cards/deleting_a_saved_credit_card.json +6 -6
- data/doc/api/storefront/saved_credit_cards/listing_the_user_s_saved_credit_cards.json +6 -6
- 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 +8 -8
- data/doc/api/storefront/searches/showing_search_autocomplete_suggestions.json +4 -4
- data/doc/api/storefront/searches/showing_search_results.json +5 -5
- data/doc/api/storefront/segmentation/specifying_session_count_for_segmentation.json +10 -10
- data/doc/api/storefront/segmentation/using_session_ids_for_segmenting_non_authenticated_users.json +10 -10
- data/doc/api/storefront/system_content/showing_system_content.json +5 -5
- data/doc/api/storefront/system_content/showing_the_home_page.json +5 -5
- data/doc/api/storefront/taxons/showing_a_taxon.json +7 -7
- data/doc/api/storefront/validation_errors/checkout_validation_errors.json +8 -8
- data/doc/api/storefront/validation_errors/general_validation_errors.json +2 -2
- data/lib/workarea/api/version.rb +1 -1
- metadata +6 -5
@@ -18,17 +18,17 @@
|
|
18
18
|
"X-Download-Options": "noopen",
|
19
19
|
"X-Permitted-Cross-Domain-Policies": "none",
|
20
20
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
21
|
-
"Date": "Wed,
|
21
|
+
"Date": "Wed, 19 Aug 2020 13:54:09 GMT",
|
22
22
|
"Content-Type": "application/json; charset=utf-8",
|
23
23
|
"Access-Control-Allow-Origin": "*",
|
24
24
|
"Access-Control-Allow-Headers": "*",
|
25
25
|
"Access-Control-Allow-Methods": "GET, POST, PATCH, PUT, DELETE, OPTIONS",
|
26
26
|
"X-Requested-With": "",
|
27
27
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
28
|
-
"Last-Modified": "Wed,
|
28
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:54:09 GMT",
|
29
29
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
30
|
-
"X-Request-Id": "
|
31
|
-
"X-Runtime": "0.
|
30
|
+
"X-Request-Id": "c7549707-035f-428f-a882-b6f0266fbecf",
|
31
|
+
"X-Runtime": "0.013768",
|
32
32
|
"X-Workarea-Segments": "",
|
33
33
|
"Expires": "0",
|
34
34
|
"Content-Length": "1981"
|
@@ -39,7 +39,7 @@
|
|
39
39
|
"request_content_type": null,
|
40
40
|
"response_status": 200,
|
41
41
|
"response_status_text": "OK",
|
42
|
-
"response_body": "{\n \"id\": \"
|
42
|
+
"response_body": "{\n \"id\": \"5f3d2f010218236e938cebfe\",\n \"name\": \"Layout\",\n \"url\": \"http://www.example.com/api/storefront/system_content/Layout\",\n \"browser_title\": \"Layout\",\n \"meta_description\": \"Shop online for Workarea API products\",\n \"content_blocks\": [\n {\n \"id\": \"5f3d2f010218236e938cebff\",\n \"type\": \"text\",\n \"area\": \"header_promo\",\n \"data\": {\n \"text\": \"Don't miss our sizzling summer deals!\"\n },\n \"hidden_breakpoints\": [\n\n ],\n \"position\": 0,\n \"html\": \"<div class=\\\"content-block content-block--text\\\" id=\\\"content_block_5f3d2f010218236e938cebff\\\" data-analytics=\\\"{"event":"contentBlockDisplay","payload":{"id":"5f3d2f010218236e938cebff","type":"text","position":0,"data":{"text":"Don't miss our sizzling summer deals!"}}}\\\" data-hidden-block-css-content=\\\"Block hidden at this breakpoint\\\"><div class='text-content-block'>Don't miss our sizzling summer deals!</div>\\n</div>\\n\"\n },\n {\n \"id\": \"5f3d2f010218236e938cec00\",\n \"type\": \"text\",\n \"area\": \"footer_navigation\",\n \"data\": {\n \"text\": \"Be the first to received our exclusive discounts\"\n },\n \"hidden_breakpoints\": [\n\n ],\n \"position\": 0,\n \"html\": \"<div class=\\\"content-block content-block--text\\\" id=\\\"content_block_5f3d2f010218236e938cec00\\\" data-analytics=\\\"{"event":"contentBlockDisplay","payload":{"id":"5f3d2f010218236e938cec00","type":"text","position":0,"data":{"text":"Be the first to received our exclusive discounts"}}}\\\" data-hidden-block-css-content=\\\"Block hidden at this breakpoint\\\"><div class='text-content-block'>Be the first to received our exclusive discounts</div>\\n</div>\\n\"\n }\n ]\n}",
|
43
43
|
"response_content_type": "application/json",
|
44
44
|
"curl": "curl -g \"https://www.example.com/api/storefront/system_content/layout\" -X GET "
|
45
45
|
}
|
@@ -18,17 +18,17 @@
|
|
18
18
|
"X-Download-Options": "noopen",
|
19
19
|
"X-Permitted-Cross-Domain-Policies": "none",
|
20
20
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
21
|
-
"Date": "Wed,
|
21
|
+
"Date": "Wed, 19 Aug 2020 13:54:10 GMT",
|
22
22
|
"Content-Type": "application/json; charset=utf-8",
|
23
23
|
"Access-Control-Allow-Origin": "*",
|
24
24
|
"Access-Control-Allow-Headers": "*",
|
25
25
|
"Access-Control-Allow-Methods": "GET, POST, PATCH, PUT, DELETE, OPTIONS",
|
26
26
|
"X-Requested-With": "",
|
27
27
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
28
|
-
"Last-Modified": "Wed,
|
28
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:54:10 GMT",
|
29
29
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
30
|
-
"X-Request-Id": "
|
31
|
-
"X-Runtime": "0.
|
30
|
+
"X-Request-Id": "3ad54fe0-81b2-4828-89f6-e4514c6621fa",
|
31
|
+
"X-Runtime": "0.009666",
|
32
32
|
"X-Workarea-Segments": "",
|
33
33
|
"Expires": "0",
|
34
34
|
"Content-Length": "1830"
|
@@ -39,7 +39,7 @@
|
|
39
39
|
"request_content_type": null,
|
40
40
|
"response_status": 200,
|
41
41
|
"response_status_text": "OK",
|
42
|
-
"response_body": "{\n \"id\": \"
|
42
|
+
"response_body": "{\n \"id\": \"5f3d2f020218236e938cec03\",\n \"name\": \"Home Page\",\n \"url\": \"http://www.example.com/api/storefront/system_content/Home%20Page\",\n \"browser_title\": \"Home Page\",\n \"meta_description\": \"Shop online for Workarea API products\",\n \"content_blocks\": [\n {\n \"id\": \"5f3d2f020218236e938cec04\",\n \"type\": \"text\",\n \"area\": \"default\",\n \"data\": {\n \"text\": \"Summer is here!\"\n },\n \"hidden_breakpoints\": [\n\n ],\n \"position\": 0,\n \"html\": \"<div class=\\\"content-block content-block--text\\\" id=\\\"content_block_5f3d2f020218236e938cec04\\\" data-analytics=\\\"{"event":"contentBlockDisplay","payload":{"id":"5f3d2f020218236e938cec04","type":"text","position":0,"data":{"text":"Summer is here!"}}}\\\" data-hidden-block-css-content=\\\"Block hidden at this breakpoint\\\"><div class='text-content-block'>Summer is here!</div>\\n</div>\\n\"\n },\n {\n \"id\": \"5f3d2f020218236e938cec05\",\n \"type\": \"text\",\n \"area\": \"default\",\n \"data\": {\n \"text\": \"Get 20% off all swimwear\"\n },\n \"hidden_breakpoints\": [\n\n ],\n \"position\": 1,\n \"html\": \"<div class=\\\"content-block content-block--text\\\" id=\\\"content_block_5f3d2f020218236e938cec05\\\" data-analytics=\\\"{"event":"contentBlockDisplay","payload":{"id":"5f3d2f020218236e938cec05","type":"text","position":1,"data":{"text":"Get 20% off all swimwear"}}}\\\" data-hidden-block-css-content=\\\"Block hidden at this breakpoint\\\"><div class='text-content-block'>Get 20% off all swimwear</div>\\n</div>\\n\"\n }\n ]\n}",
|
43
43
|
"response_content_type": "application/json",
|
44
44
|
"curl": "curl -g \"https://www.example.com/api/storefront/system_content/home_page\" -X GET "
|
45
45
|
}
|
@@ -18,30 +18,30 @@
|
|
18
18
|
"X-Download-Options": "noopen",
|
19
19
|
"X-Permitted-Cross-Domain-Policies": "none",
|
20
20
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
21
|
-
"Date": "Wed,
|
21
|
+
"Date": "Wed, 19 Aug 2020 13:55:29 GMT",
|
22
22
|
"Content-Type": "application/json; charset=utf-8",
|
23
23
|
"Access-Control-Allow-Origin": "*",
|
24
24
|
"Access-Control-Allow-Headers": "*",
|
25
25
|
"Access-Control-Allow-Methods": "GET, POST, PATCH, PUT, DELETE, OPTIONS",
|
26
26
|
"X-Requested-With": "",
|
27
27
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
28
|
-
"Last-Modified": "Wed,
|
28
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:55:29 GMT",
|
29
29
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
30
|
-
"X-Request-Id": "
|
31
|
-
"X-Runtime": "0.
|
30
|
+
"X-Request-Id": "b0eb5722-8d04-4656-9d95-9aedaebebf17",
|
31
|
+
"X-Runtime": "0.013856",
|
32
32
|
"X-Workarea-Segments": "",
|
33
33
|
"Expires": "0",
|
34
34
|
"Content-Length": "534"
|
35
35
|
},
|
36
36
|
"request_method": "GET",
|
37
|
-
"request_path": "/api/storefront/taxons/
|
37
|
+
"request_path": "/api/storefront/taxons/5f3d2f510218236e938cf11a",
|
38
38
|
"request_body": null,
|
39
39
|
"request_content_type": null,
|
40
40
|
"response_status": 200,
|
41
41
|
"response_status_text": "OK",
|
42
|
-
"response_body": "{\n \"taxon\": {\n \"id\": \"
|
42
|
+
"response_body": "{\n \"taxon\": {\n \"id\": \"5f3d2f510218236e938cf11a\",\n \"url\": \"/api/storefront/taxons/5f3d2f510218236e938cf11a\",\n \"name\": \"Mens\",\n \"depth\": 1,\n \"navigable_url\": \"http://example.com/pages/mens\",\n \"parent_id\": \"5f3d2f510218236e938cf11b\",\n \"parent_ids\": [\n \"5f3d2f510218236e938cf11b\"\n ],\n \"position\": 0\n },\n \"children\": [\n {\n \"id\": \"5f3d2f510218236e938cf11c\",\n \"url\": \"/api/storefront/taxons/5f3d2f510218236e938cf11c\",\n \"name\": \"Sale\",\n \"depth\": 2,\n \"navigable_url\": null,\n \"parent_id\": \"5f3d2f510218236e938cf11a\",\n \"parent_ids\": [\n \"5f3d2f510218236e938cf11b\",\n \"5f3d2f510218236e938cf11a\"\n ],\n \"position\": 0\n }\n ]\n}",
|
43
43
|
"response_content_type": "application/json",
|
44
|
-
"curl": "curl -g \"https://www.example.com/api/storefront/taxons/
|
44
|
+
"curl": "curl -g \"https://www.example.com/api/storefront/taxons/5f3d2f510218236e938cf11a\" -X GET "
|
45
45
|
}
|
46
46
|
],
|
47
47
|
"resource": "Taxons",
|
@@ -25,23 +25,23 @@
|
|
25
25
|
"Access-Control-Allow-Methods": "GET, POST, PATCH, PUT, DELETE, OPTIONS",
|
26
26
|
"X-Requested-With": "",
|
27
27
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
28
|
-
"Last-Modified": "Wed,
|
28
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:54:56 GMT",
|
29
29
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
30
|
-
"X-Request-Id": "
|
31
|
-
"X-Runtime": "0.
|
30
|
+
"X-Request-Id": "042fc2df-60ed-489f-90c0-37926f3dea56",
|
31
|
+
"X-Runtime": "0.579544",
|
32
32
|
"X-Workarea-Segments": "",
|
33
33
|
"Expires": "0",
|
34
34
|
"Content-Length": "3271"
|
35
35
|
},
|
36
36
|
"request_method": "PATCH",
|
37
|
-
"request_path": "/api/storefront/checkouts/
|
37
|
+
"request_path": "/api/storefront/checkouts/42F1747F29",
|
38
38
|
"request_body": "{\"email\":\"susanb@\",\"shipping_address\":{\"first_name\":\"\",\"last_name\":\"Baker\",\"street\":\"350 Fifth Avenue\",\"city\":\"New York\",\"region\":\"NY\",\"country\":\"US\",\"postal_code\":\"10118\"},\"billing_address\":{\"first_name\":\"Susan\",\"last_name\":\"Baker\",\"street\":\"\",\"city\":\"New York\",\"region\":\"NY\",\"country\":\"US\",\"postal_code\":\"10118\"}}",
|
39
39
|
"request_content_type": "application/json",
|
40
|
-
"response_status":
|
41
|
-
"response_status_text": "
|
42
|
-
"response_body": "{\n \"order\": {\n \"id\": \"
|
40
|
+
"response_status": 422,
|
41
|
+
"response_status_text": "Unprocessable Entity",
|
42
|
+
"response_body": "{\n \"order\": {\n \"id\": \"42F1747F29\",\n \"url\": \"http://www.example.com/api/storefront/orders/42F1747F29\",\n \"user_id\": null,\n \"email\": \"susanb@\",\n \"placed_at\": null,\n \"canceled_at\": null,\n \"promo_codes\": [\n\n ],\n \"requires_shipping\": true,\n \"items\": [\n {\n \"id\": \"5f3d2f300218236e938cee2b\",\n \"product_id\": \"VINTEE\",\n \"sku\": \"VT001\",\n \"quantity\": 2,\n \"product_url\": \"http://www.example.com/api/storefront/products/vintage-tee?sku=VT001\",\n \"options\": {\n },\n \"customizations\": {\n },\n \"product_image\": {\n \"urls\": [\n {\n \"type\": \"small\",\n \"url\": \"http://www.example.com/product_images/placeholder/small.jpg?c=1597845226\"\n },\n {\n \"type\": \"medium\",\n \"url\": \"http://www.example.com/product_images/placeholder/medium.jpg?c=1597845226\"\n },\n {\n \"type\": \"small_thumb\",\n \"url\": \"http://www.example.com/product_images/placeholder/small_thumb.jpg?c=1597845226\"\n },\n {\n \"type\": \"medium_thumb\",\n \"url\": \"http://www.example.com/product_images/placeholder/medium_thumb.jpg?c=1597845226\"\n },\n {\n \"type\": \"large_thumb\",\n \"url\": \"http://www.example.com/product_images/placeholder/large_thumb.jpg?c=1597845226\"\n },\n {\n \"type\": \"detail\",\n \"url\": \"http://www.example.com/product_images/placeholder/detail.jpg?c=1597845226\"\n },\n {\n \"type\": \"zoom\",\n \"url\": \"http://www.example.com/product_images/placeholder/zoom.jpg?c=1597845226\"\n },\n {\n \"type\": \"super_zoom\",\n \"url\": \"http://www.example.com/product_images/placeholder/super_zoom.jpg?c=1597845226\"\n },\n {\n \"type\": \"favicon\",\n \"url\": \"http://www.example.com/product_images/placeholder/favicon.jpg?c=1597845226\"\n },\n {\n \"type\": \"favicon_ico\",\n \"url\": \"http://www.example.com/product_images/placeholder/favicon_ico.jpg?c=1597845226\"\n }\n ]\n },\n \"pricing\": {\n \"price_adjustments\": [\n {\n \"description\": \"Item Subtotal\",\n \"discount\": false,\n \"amount\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n }\n }\n ],\n \"total_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"on_sale\": false,\n \"original_unit_price\": {\n \"cents\": 500.0,\n \"currency_iso\": \"USD\"\n },\n \"original_price\": {\n \"cents\": 500.0,\n \"currency_iso\": \"USD\"\n },\n \"customized\": false,\n \"customizations_unit_price\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n }\n }\n }\n ],\n \"pricing\": {\n \"price_adjustments\": [\n\n ],\n \"shipping_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"tax_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"subtotal_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"total_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"paid_amount\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n }\n },\n \"shipping_service\": null,\n \"tenders\": [\n\n ]\n },\n \"checkout\": {\n \"url\": \"http://www.example.com/api/storefront/checkouts/42F1747F29\",\n \"started_at\": \"2020-08-19T13:54:56.210Z\",\n \"shippable\": false,\n \"complete\": false,\n \"addresses\": {\n \"complete\": false,\n \"email\": \"susanb@\",\n \"problems\": [\n \"Email is invalid\"\n ],\n \"shipping_address\": {\n \"id\": \"5f3d2f300218236e938cee32\",\n \"first_name\": \"\",\n \"last_name\": \"Baker\",\n \"company\": null,\n \"street\": \"350 Fifth Avenue\",\n \"street_2\": null,\n \"city\": \"New York\",\n \"country\": \"US\",\n \"region\": \"NY\",\n \"postal_code\": \"10118\",\n \"phone_number\": null,\n \"phone_extension\": null,\n \"problems\": [\n \"First name can't be blank\"\n ]\n },\n \"billing_address\": {\n \"id\": \"5f3d2f300218236e938cee33\",\n \"first_name\": \"Susan\",\n \"last_name\": \"Baker\",\n \"company\": null,\n \"street\": \"\",\n \"street_2\": null,\n \"city\": \"New York\",\n \"country\": \"US\",\n \"region\": \"NY\",\n \"postal_code\": \"10118\",\n \"phone_number\": null,\n \"phone_extension\": null,\n \"problems\": [\n \"Street can't be blank\"\n ]\n }\n },\n \"shipping\": {\n \"complete\": false,\n \"problems\": [\n \"Address is invalid\"\n ],\n \"shipping_service\": null,\n \"shipping_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"shipping_options\": [\n\n ]\n },\n \"payment\": {\n \"complete\": false,\n \"problems\": [\n \"Address is invalid\"\n ],\n \"tenders\": [\n\n ]\n }\n }\n}",
|
43
43
|
"response_content_type": "application/json",
|
44
|
-
"curl": "curl \"https://www.example.com/api/storefront/checkouts/
|
44
|
+
"curl": "curl \"https://www.example.com/api/storefront/checkouts/42F1747F29\" -d '{\"email\":\"susanb@\",\"shipping_address\":{\"first_name\":\"\",\"last_name\":\"Baker\",\"street\":\"350 Fifth Avenue\",\"city\":\"New York\",\"region\":\"NY\",\"country\":\"US\",\"postal_code\":\"10118\"},\"billing_address\":{\"first_name\":\"Susan\",\"last_name\":\"Baker\",\"street\":\"\",\"city\":\"New York\",\"region\":\"NY\",\"country\":\"US\",\"postal_code\":\"10118\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
45
45
|
}
|
46
46
|
],
|
47
47
|
"resource": "Validation Errors",
|
@@ -21,8 +21,8 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Content-Type": "application/json; charset=utf-8",
|
23
23
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
24
|
-
"X-Request-Id": "
|
25
|
-
"X-Runtime": "0.
|
24
|
+
"X-Request-Id": "08cd60aa-3701-4cba-b912-33cfa24b6354",
|
25
|
+
"X-Runtime": "0.008567",
|
26
26
|
"X-Workarea-Segments": "",
|
27
27
|
"Expires": "0",
|
28
28
|
"Content-Length": "59"
|
data/lib/workarea/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workarea-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.5.
|
4
|
+
version: 4.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Crouse
|
@@ -37,28 +37,28 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 4.5.
|
40
|
+
version: 4.5.5
|
41
41
|
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 4.5.
|
47
|
+
version: 4.5.5
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: workarea-api-admin
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 4.5.
|
54
|
+
version: 4.5.5
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 4.5.
|
61
|
+
version: 4.5.5
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: raddocs
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -486,6 +486,7 @@ files:
|
|
486
486
|
- doc/api/storefront/categories/showing_a_category.json
|
487
487
|
- doc/api/storefront/categories/showing_a_listing_of_categories.json
|
488
488
|
- doc/api/storefront/checkout/completing_a_checkout.json
|
489
|
+
- doc/api/storefront/checkout/failure_to_update_a_checkout.json
|
489
490
|
- doc/api/storefront/checkout/showing_a_checkout.json
|
490
491
|
- doc/api/storefront/checkout/updating_a_checkout.json
|
491
492
|
- doc/api/storefront/contacts/creating_a_contact.json
|