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
@@ -35,10 +35,10 @@
|
|
35
35
|
"Content-Type": "application/json; charset=utf-8",
|
36
36
|
"X-Requested-With": "",
|
37
37
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
38
|
-
"Last-Modified": "Wed,
|
38
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:45:45 GMT",
|
39
39
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
40
|
-
"X-Request-Id": "
|
41
|
-
"X-Runtime": "0.
|
40
|
+
"X-Request-Id": "42708fb6-7040-4c20-a22e-ed33ed424c6f",
|
41
|
+
"X-Runtime": "0.006974",
|
42
42
|
"X-Workarea-Segments": "",
|
43
43
|
"Expires": "0",
|
44
44
|
"Content-Length": "470"
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"request_content_type": null,
|
50
50
|
"response_status": 200,
|
51
51
|
"response_status_text": "OK",
|
52
|
-
"response_body": "{\n \"navigation_menus\": [\n {\n \"_id\": \"
|
52
|
+
"response_body": "{\n \"navigation_menus\": [\n {\n \"_id\": \"5f3d2d090218236de151ea95\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:45:45.521Z\",\n \"name\": \"Test Taxon\",\n \"position\": 0,\n \"taxon_id\": \"5f3d2d090218236de151ea93\",\n \"updated_at\": \"2020-08-19T13:45:45.521Z\"\n },\n {\n \"_id\": \"5f3d2d090218236de151ea98\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:45:45.630Z\",\n \"name\": \"Test Taxon\",\n \"position\": 1,\n \"taxon_id\": \"5f3d2d090218236de151ea97\",\n \"updated_at\": \"2020-08-19T13:45:45.630Z\"\n }\n ]\n}",
|
53
53
|
"response_content_type": "application/json",
|
54
54
|
"curl": "curl -g \"https://www.example.com/api/admin/navigation_menus?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
|
55
55
|
}
|
@@ -21,22 +21,22 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:45:44 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "fc3bc68a-796a-41c2-a785-72fcc9759cb1",
|
27
|
+
"X-Runtime": "0.028923",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "DELETE",
|
32
|
-
"request_path": "/api/admin/navigation_menus/
|
32
|
+
"request_path": "/api/admin/navigation_menus/5f3d2d080218236de151ea8b",
|
33
33
|
"request_body": null,
|
34
34
|
"request_content_type": "application/x-www-form-urlencoded",
|
35
35
|
"response_status": 204,
|
36
36
|
"response_status_text": "No Content",
|
37
37
|
"response_body": null,
|
38
38
|
"response_content_type": null,
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/navigation_menus/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/navigation_menus/5f3d2d080218236de151ea8b\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Navigation menus",
|
@@ -21,23 +21,23 @@
|
|
21
21
|
"Content-Type": "application/json; charset=utf-8",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:45:43 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "c78a2d2d-d56d-4a43-b458-9e69e7ea3815",
|
27
|
+
"X-Runtime": "0.006797",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0",
|
30
30
|
"Content-Length": "243"
|
31
31
|
},
|
32
32
|
"request_method": "GET",
|
33
|
-
"request_path": "/api/admin/navigation_menus/
|
33
|
+
"request_path": "/api/admin/navigation_menus/5f3d2d070218236de151ea83",
|
34
34
|
"request_body": null,
|
35
35
|
"request_content_type": null,
|
36
36
|
"response_status": 200,
|
37
37
|
"response_status_text": "OK",
|
38
|
-
"response_body": "{\n \"navigation_menu\": {\n \"_id\": \"
|
38
|
+
"response_body": "{\n \"navigation_menu\": {\n \"_id\": \"5f3d2d070218236de151ea83\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:45:43.162Z\",\n \"name\": \"Test Taxon\",\n \"position\": 0,\n \"taxon_id\": \"5f3d2d070218236de151ea81\",\n \"updated_at\": \"2020-08-19T13:45:43.162Z\"\n }\n}",
|
39
39
|
"response_content_type": "application/json",
|
40
|
-
"curl": "curl -g \"https://www.example.com/api/admin/navigation_menus/
|
40
|
+
"curl": "curl -g \"https://www.example.com/api/admin/navigation_menus/5f3d2d070218236de151ea83\" -X GET "
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"resource": "Navigation menus",
|
@@ -21,22 +21,22 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:45:46 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "939d99b3-b22d-46d2-be2c-7b0693cc90ef",
|
27
|
+
"X-Runtime": "0.058526",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
|
-
"request_path": "/api/admin/navigation_menus/
|
32
|
+
"request_path": "/api/admin/navigation_menus/5f3d2d0a0218236de151eaa0",
|
33
33
|
"request_body": "{\"navigation_menu\":{\"name\":\"foo\"}}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 204,
|
36
36
|
"response_status_text": "No Content",
|
37
37
|
"response_body": null,
|
38
38
|
"response_content_type": null,
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/navigation_menus/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/navigation_menus/5f3d2d0a0218236de151eaa0\" -d '{\"navigation_menu\":{\"name\":\"foo\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Navigation menus",
|
@@ -21,22 +21,22 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:53:07 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "ec8572c4-8a98-4b64-96b1-e5a846ad66a2",
|
27
|
+
"X-Runtime": "0.210722",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
32
|
"request_path": "/api/admin/navigation_taxons/bulk",
|
33
|
-
"request_body": "{\"navigation_taxons\":[{\"children_count\":0,\"created_at\":\"
|
33
|
+
"request_body": "{\"navigation_taxons\":[{\"children_count\":0,\"created_at\":\"2020-08-19T13:53:06.928Z\",\"depth\":1,\"name\":\"Test Taxon\",\"navigable_id\":null,\"navigable_slug\":null,\"navigable_type\":null,\"parent_id\":\"5f3d2ec20218236de151fbfa\",\"parent_ids\":[\"5f3d2ec20218236de151fbfa\"],\"position\":0,\"updated_at\":\"2020-08-19T13:53:06.928Z\",\"url\":null},{\"children_count\":0,\"created_at\":\"2020-08-19T13:53:06.928Z\",\"depth\":1,\"name\":\"Test Taxon\",\"navigable_id\":null,\"navigable_slug\":null,\"navigable_type\":null,\"parent_id\":\"5f3d2ec20218236de151fbfa\",\"parent_ids\":[\"5f3d2ec20218236de151fbfa\"],\"position\":0,\"updated_at\":\"2020-08-19T13:53:06.928Z\",\"url\":null},{\"children_count\":0,\"created_at\":\"2020-08-19T13:53:06.928Z\",\"depth\":1,\"name\":\"Test Taxon\",\"navigable_id\":null,\"navigable_slug\":null,\"navigable_type\":null,\"parent_id\":\"5f3d2ec20218236de151fbfa\",\"parent_ids\":[\"5f3d2ec20218236de151fbfa\"],\"position\":0,\"updated_at\":\"2020-08-19T13:53:06.928Z\",\"url\":null}]}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 204,
|
36
36
|
"response_status_text": "No Content",
|
37
37
|
"response_body": null,
|
38
38
|
"response_content_type": null,
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/navigation_taxons/bulk\" -d '{\"navigation_taxons\":[{\"children_count\":0,\"created_at\":\"
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/navigation_taxons/bulk\" -d '{\"navigation_taxons\":[{\"children_count\":0,\"created_at\":\"2020-08-19T13:53:06.928Z\",\"depth\":1,\"name\":\"Test Taxon\",\"navigable_id\":null,\"navigable_slug\":null,\"navigable_type\":null,\"parent_id\":\"5f3d2ec20218236de151fbfa\",\"parent_ids\":[\"5f3d2ec20218236de151fbfa\"],\"position\":0,\"updated_at\":\"2020-08-19T13:53:06.928Z\",\"url\":null},{\"children_count\":0,\"created_at\":\"2020-08-19T13:53:06.928Z\",\"depth\":1,\"name\":\"Test Taxon\",\"navigable_id\":null,\"navigable_slug\":null,\"navigable_type\":null,\"parent_id\":\"5f3d2ec20218236de151fbfa\",\"parent_ids\":[\"5f3d2ec20218236de151fbfa\"],\"position\":0,\"updated_at\":\"2020-08-19T13:53:06.928Z\",\"url\":null},{\"children_count\":0,\"created_at\":\"2020-08-19T13:53:06.928Z\",\"depth\":1,\"name\":\"Test Taxon\",\"navigable_id\":null,\"navigable_slug\":null,\"navigable_type\":null,\"parent_id\":\"5f3d2ec20218236de151fbfa\",\"parent_ids\":[\"5f3d2ec20218236de151fbfa\"],\"position\":0,\"updated_at\":\"2020-08-19T13:53:06.928Z\",\"url\":null}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Navigation taxonomy",
|
@@ -19,27 +19,27 @@
|
|
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/navigation_taxons/
|
22
|
+
"Location": "/api/admin/navigation_taxons/5f3d2ec40218236de151fc0f",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
24
|
"X-Requested-With": "",
|
25
25
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
26
|
-
"Last-Modified": "Wed,
|
26
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:53:08 GMT",
|
27
27
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
28
|
-
"X-Request-Id": "
|
29
|
-
"X-Runtime": "0.
|
28
|
+
"X-Request-Id": "f981867c-2d76-4370-a196-50268e5bb9bc",
|
29
|
+
"X-Runtime": "0.043232",
|
30
30
|
"X-Workarea-Segments": "",
|
31
31
|
"Expires": "0",
|
32
32
|
"Content-Length": "353"
|
33
33
|
},
|
34
34
|
"request_method": "POST",
|
35
35
|
"request_path": "/api/admin/navigation_taxons",
|
36
|
-
"request_body": "{\"navigation_taxon\":{\"children_count\":0,\"created_at\":\"
|
36
|
+
"request_body": "{\"navigation_taxon\":{\"children_count\":0,\"created_at\":\"2020-08-19T13:53:08.495Z\",\"depth\":1,\"name\":\"Test Taxon\",\"navigable_id\":null,\"navigable_slug\":null,\"navigable_type\":null,\"parent_id\":\"5f3d2ec40218236de151fc0d\",\"parent_ids\":[\"5f3d2ec40218236de151fc0d\"],\"position\":0,\"updated_at\":\"2020-08-19T13:53:08.495Z\",\"url\":null}}",
|
37
37
|
"request_content_type": "application/json",
|
38
38
|
"response_status": 201,
|
39
39
|
"response_status_text": "Created",
|
40
|
-
"response_body": "{\n \"navigation_taxon\": {\n \"_id\": \"
|
40
|
+
"response_body": "{\n \"navigation_taxon\": {\n \"_id\": \"5f3d2ec40218236de151fc0f\",\n \"children_count\": 0,\n \"created_at\": \"2020-08-19T13:53:08.495Z\",\n \"depth\": 1,\n \"name\": \"Test Taxon\",\n \"navigable_id\": null,\n \"navigable_slug\": null,\n \"navigable_type\": null,\n \"parent_id\": \"5f3d2ec40218236de151fc0d\",\n \"parent_ids\": [\n \"5f3d2ec40218236de151fc0d\"\n ],\n \"position\": 1,\n \"updated_at\": \"2020-08-19T13:53:08.495Z\",\n \"url\": null\n }\n}",
|
41
41
|
"response_content_type": "application/json",
|
42
|
-
"curl": "curl \"https://www.example.com/api/admin/navigation_taxons\" -d '{\"navigation_taxon\":{\"children_count\":0,\"created_at\":\"
|
42
|
+
"curl": "curl \"https://www.example.com/api/admin/navigation_taxons\" -d '{\"navigation_taxon\":{\"children_count\":0,\"created_at\":\"2020-08-19T13:53:08.495Z\",\"depth\":1,\"name\":\"Test Taxon\",\"navigable_id\":null,\"navigable_slug\":null,\"navigable_type\":null,\"parent_id\":\"5f3d2ec40218236de151fc0d\",\"parent_ids\":[\"5f3d2ec40218236de151fc0d\"],\"position\":0,\"updated_at\":\"2020-08-19T13:53:08.495Z\",\"url\":null}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
43
43
|
}
|
44
44
|
],
|
45
45
|
"resource": "Navigation taxonomy",
|
@@ -35,10 +35,10 @@
|
|
35
35
|
"Content-Type": "application/json; charset=utf-8",
|
36
36
|
"X-Requested-With": "",
|
37
37
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
38
|
-
"Last-Modified": "Wed,
|
38
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:53:10 GMT",
|
39
39
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
40
|
-
"X-Request-Id": "
|
41
|
-
"X-Runtime": "0.
|
40
|
+
"X-Request-Id": "872207f6-d500-442a-9ab2-20b84798f553",
|
41
|
+
"X-Runtime": "0.007619",
|
42
42
|
"X-Workarea-Segments": "",
|
43
43
|
"Expires": "0",
|
44
44
|
"Content-Length": "967"
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"request_content_type": null,
|
50
50
|
"response_status": 200,
|
51
51
|
"response_status_text": "OK",
|
52
|
-
"response_body": "{\n \"navigation_taxons\": [\n {\n \"_id\": \"
|
52
|
+
"response_body": "{\n \"navigation_taxons\": [\n {\n \"_id\": \"5f3d2ec60218236de151fc1a\",\n \"children_count\": 0,\n \"created_at\": \"2020-08-19T13:53:10.885Z\",\n \"depth\": 1,\n \"name\": \"Test Taxon\",\n \"navigable_id\": null,\n \"navigable_slug\": null,\n \"navigable_type\": null,\n \"parent_id\": \"5f3d2ec60218236de151fc1b\",\n \"parent_ids\": [\n \"5f3d2ec60218236de151fc1b\"\n ],\n \"position\": 0,\n \"updated_at\": \"2020-08-19T13:53:10.885Z\",\n \"url\": null\n },\n {\n \"_id\": \"5f3d2ec60218236de151fc1b\",\n \"children_count\": 2,\n \"created_at\": \"2020-08-19T13:53:10.869Z\",\n \"depth\": 0,\n \"name\": \"Home\",\n \"navigable_id\": null,\n \"navigable_slug\": null,\n \"navigable_type\": null,\n \"parent_id\": null,\n \"parent_ids\": [\n\n ],\n \"position\": 0,\n \"updated_at\": \"2020-08-19T13:53:10.928Z\",\n \"url\": \"/\"\n },\n {\n \"_id\": \"5f3d2ec60218236de151fc1c\",\n \"children_count\": 0,\n \"created_at\": \"2020-08-19T13:53:10.914Z\",\n \"depth\": 1,\n \"name\": \"Test Taxon\",\n \"navigable_id\": null,\n \"navigable_slug\": null,\n \"navigable_type\": null,\n \"parent_id\": \"5f3d2ec60218236de151fc1b\",\n \"parent_ids\": [\n \"5f3d2ec60218236de151fc1b\"\n ],\n \"position\": 1,\n \"updated_at\": \"2020-08-19T13:53:10.914Z\",\n \"url\": null\n }\n ]\n}",
|
53
53
|
"response_content_type": "application/json",
|
54
54
|
"curl": "curl -g \"https://www.example.com/api/admin/navigation_taxons?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
|
55
55
|
}
|
@@ -21,22 +21,22 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:53:04 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "2abebfd3-10ab-49b6-ba4f-b78ea6da3181",
|
27
|
+
"X-Runtime": "0.024715",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "DELETE",
|
32
|
-
"request_path": "/api/admin/navigation_taxons/
|
32
|
+
"request_path": "/api/admin/navigation_taxons/5f3d2ebf0218236de151fbeb",
|
33
33
|
"request_body": null,
|
34
34
|
"request_content_type": "application/x-www-form-urlencoded",
|
35
35
|
"response_status": 204,
|
36
36
|
"response_status_text": "No Content",
|
37
37
|
"response_body": null,
|
38
38
|
"response_content_type": null,
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/navigation_taxons/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/navigation_taxons/5f3d2ebf0218236de151fbeb\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Navigation taxonomy",
|
@@ -21,23 +21,23 @@
|
|
21
21
|
"Content-Type": "application/json; charset=utf-8",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:53:09 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "9e47459a-8b57-43bd-8e0b-3629598f566a",
|
27
|
+
"X-Runtime": "0.007483",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0",
|
30
30
|
"Content-Length": "353"
|
31
31
|
},
|
32
32
|
"request_method": "GET",
|
33
|
-
"request_path": "/api/admin/navigation_taxons/
|
33
|
+
"request_path": "/api/admin/navigation_taxons/5f3d2ec50218236de151fc14",
|
34
34
|
"request_body": null,
|
35
35
|
"request_content_type": null,
|
36
36
|
"response_status": 200,
|
37
37
|
"response_status_text": "OK",
|
38
|
-
"response_body": "{\n \"navigation_taxon\": {\n \"_id\": \"
|
38
|
+
"response_body": "{\n \"navigation_taxon\": {\n \"_id\": \"5f3d2ec50218236de151fc14\",\n \"children_count\": 0,\n \"created_at\": \"2020-08-19T13:53:09.663Z\",\n \"depth\": 1,\n \"name\": \"Test Taxon\",\n \"navigable_id\": null,\n \"navigable_slug\": null,\n \"navigable_type\": null,\n \"parent_id\": \"5f3d2ec50218236de151fc15\",\n \"parent_ids\": [\n \"5f3d2ec50218236de151fc15\"\n ],\n \"position\": 0,\n \"updated_at\": \"2020-08-19T13:53:09.663Z\",\n \"url\": null\n }\n}",
|
39
39
|
"response_content_type": "application/json",
|
40
|
-
"curl": "curl -g \"https://www.example.com/api/admin/navigation_taxons/
|
40
|
+
"curl": "curl -g \"https://www.example.com/api/admin/navigation_taxons/5f3d2ec50218236de151fc14\" -X GET "
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"resource": "Navigation taxonomy",
|
@@ -21,22 +21,22 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:53:05 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "8da1f169-68fd-4d94-ac2c-fbc4bcc0a57c",
|
27
|
+
"X-Runtime": "0.035903",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
|
-
"request_path": "/api/admin/navigation_taxons/
|
32
|
+
"request_path": "/api/admin/navigation_taxons/5f3d2ec10218236de151fbf2",
|
33
33
|
"request_body": "{\"navigation_taxon\":{\"name\":\"foo\"}}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 204,
|
36
36
|
"response_status_text": "No Content",
|
37
37
|
"response_body": null,
|
38
38
|
"response_content_type": null,
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/navigation_taxons/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/navigation_taxons/5f3d2ec10218236de151fbf2\" -d '{\"navigation_taxon\":{\"name\":\"foo\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Navigation taxonomy",
|
@@ -35,10 +35,10 @@
|
|
35
35
|
"Content-Type": "application/json; charset=utf-8",
|
36
36
|
"X-Requested-With": "",
|
37
37
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
38
|
-
"Last-Modified": "Wed,
|
38
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:50:06 GMT",
|
39
39
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
40
|
-
"X-Request-Id": "
|
41
|
-
"X-Runtime": "0.
|
40
|
+
"X-Request-Id": "32425bc3-a5ec-41bc-a567-2e754b777cc4",
|
41
|
+
"X-Runtime": "0.011333",
|
42
42
|
"X-Workarea-Segments": "",
|
43
43
|
"Expires": "0",
|
44
44
|
"Content-Length": "5100"
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"request_content_type": null,
|
50
50
|
"response_status": 200,
|
51
51
|
"response_status_text": "OK",
|
52
|
-
"response_body": "{\n \"orders\": [\n {\n \"_id\": \"1001\",\n \"canceled_at\": null,\n \"checkout_by_id\": null,\n \"checkout_started_at\": null,\n \"copied_from_id\": null,\n \"created_at\": \"2019-11-27T00:36:45.989Z\",\n \"discount_ids\": [\n\n ],\n \"email\": \"bcrouse-new@workarea.com\",\n \"fraud_decided_at\": \"2019-11-27T00:36:48.186Z\",\n \"fraud_decision\": {\n \"_id\": \"5dddc5201241594254075626\",\n \"analyzer\": \"Workarea::Checkout::Fraud::TestAnalyzer\",\n \"created_at\": null,\n \"decision\": \"no_decision\",\n \"message\": \"Workarea default fraud check. Automatic no decision.\",\n \"response\": null,\n \"updated_at\": null\n },\n \"fraud_suspected_at\": null,\n \"ip_address\": null,\n \"items\": [\n {\n \"_id\": \"5dddc51d12415942540755e4\",\n \"category_ids\": [\n\n ],\n \"created_at\": \"2019-11-27T00:36:45.989Z\",\n \"customizations\": {\n },\n \"discountable\": true,\n \"free_gift\": false,\n \"fulfillment\": \"shipping\",\n \"price_adjustments\": [\n {\n \"_id\": \"5dddc51f1241594254075624\",\n \"amount\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"calculator\": \"Workarea::Pricing::Calculators::ItemCalculator\",\n \"created_at\": null,\n \"data\": {\n \"on_sale\": false,\n \"original_price\": 5.0,\n \"tax_code\": null\n },\n \"description\": \"Item Subtotal\",\n \"price\": \"item\",\n \"quantity\": 2,\n \"updated_at\": null\n }\n ],\n \"product_attributes\": {\n \"_id\": \"1614B21D4D\",\n \"tags\": [\n\n ],\n \"active_segment_ids\": {\n \"en\": [\n\n ]\n },\n \"active\": {\n \"en\": true\n },\n \"subscribed_user_ids\": [\n\n ],\n \"details\": {\n \"en\": {\n \"Material\": [\n \"Cotton\"\n ],\n \"Style\": [\n \"12345\"\n ]\n }\n },\n \"filters\": {\n \"en\": {\n \"Material\": \"Cotton\",\n \"Style\": \"12345\"\n }\n },\n \"template\": \"generic\",\n \"purchasable\": true,\n \"name\": {\n \"en\": \"Test Product\"\n },\n \"digital\": false,\n \"slug\": \"test-product\",\n \"updated_at\": \"2019-11-27T00:36:45.658Z\",\n \"created_at\": \"2019-11-27T00:36:42.176Z\",\n \"variants\": [\n {\n \"_id\": \"5dddc51a12415942540755a3\",\n \"active_segment_ids\": {\n \"en\": [\n\n ]\n },\n \"active\": {\n \"en\": true\n },\n \"details\": {\n \"en\": {\n }\n },\n \"sku\": \"SKU\",\n \"name\": {\n \"en\": \"SKU\"\n },\n \"position\": 0\n }\n ],\n \"last_indexed_at\": \"2019-11-27T00:36:45.789Z\"\n },\n \"product_id\": \"1614B21D4D\",\n \"quantity\": 2,\n \"sku\": \"SKU\",\n \"total_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"total_value\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2019-11-27T00:36:45.989Z\",\n \"via\": null\n }\n ],\n \"lock_expires_at\": null,\n \"metrics_saved_at\": \"2019-11-27T00:36:48.832Z\",\n \"placed_at\": \"2019-11-27T00:36:48.638Z\",\n \"pricing_cache_key\": \"1a0696b21d2a253e2cf675f4c8d8a5f31230347b\",\n \"promo_codes\": [\n\n ],\n \"reminded_at\": null,\n \"segment_ids\": [\n\n ],\n \"shipping_total\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"source\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"subtotal_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"tax_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"token\": \"hT61KZVCbrmCuh7LvwBJd2Uq\",\n \"total_price\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"total_value\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2019-11-27T00:36:48.643Z\",\n \"user_activity_id\": null,\n \"user_agent\": null,\n \"user_id\": null\n },\n {\n \"_id\": \"1000\",\n \"canceled_at\": null,\n \"checkout_by_id\": null,\n \"checkout_started_at\": null,\n \"copied_from_id\": null,\n \"created_at\": \"2019-11-27T00:36:42.390Z\",\n \"discount_ids\": [\n\n ],\n \"email\": \"bcrouse-new@workarea.com\",\n \"fraud_decided_at\": \"2019-11-27T00:36:44.556Z\",\n \"fraud_decision\": {\n \"_id\": \"5dddc51c12415942540755d4\",\n \"analyzer\": \"Workarea::Checkout::Fraud::TestAnalyzer\",\n \"created_at\": null,\n \"decision\": \"no_decision\",\n \"message\": \"Workarea default fraud check. Automatic no decision.\",\n \"response\": null,\n \"updated_at\": null\n },\n \"fraud_suspected_at\": null,\n \"ip_address\": null,\n \"items\": [\n {\n \"_id\": \"5dddc51a12415942540755a9\",\n \"category_ids\": [\n\n ],\n \"created_at\": \"2019-11-27T00:36:42.390Z\",\n \"customizations\": {\n },\n \"discountable\": true,\n \"free_gift\": false,\n \"fulfillment\": \"shipping\",\n \"price_adjustments\": [\n {\n \"_id\": \"5dddc51b12415942540755d2\",\n \"amount\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"calculator\": \"Workarea::Pricing::Calculators::ItemCalculator\",\n \"created_at\": null,\n \"data\": {\n \"on_sale\": false,\n \"original_price\": 5.0,\n \"tax_code\": null\n },\n \"description\": \"Item Subtotal\",\n \"price\": \"item\",\n \"quantity\": 2,\n \"updated_at\": null\n }\n ],\n \"product_attributes\": {\n \"_id\": \"1614B21D4D\",\n \"tags\": [\n\n ],\n \"active_segment_ids\": {\n \"en\": [\n\n ]\n },\n \"active\": {\n \"en\": true\n },\n \"subscribed_user_ids\": [\n\n ],\n \"details\": {\n \"en\": {\n \"Material\": [\n \"Cotton\"\n ],\n \"Style\": [\n \"12345\"\n ]\n }\n },\n \"filters\": {\n \"en\": {\n \"Material\": \"Cotton\",\n \"Style\": \"12345\"\n }\n },\n \"template\": \"generic\",\n \"purchasable\": true,\n \"name\": {\n \"en\": \"Test Product\"\n },\n \"digital\": false,\n \"slug\": \"test-product\",\n \"updated_at\": \"2019-11-27T00:36:42.176Z\",\n \"created_at\": \"2019-11-27T00:36:42.176Z\",\n \"variants\": [\n {\n \"_id\": \"5dddc51a12415942540755a3\",\n \"active_segment_ids\": {\n \"en\": [\n\n ]\n },\n \"active\": {\n \"en\": true\n },\n \"details\": {\n \"en\": {\n }\n },\n \"sku\": \"SKU\",\n \"name\": {\n \"en\": \"SKU\"\n },\n \"position\": 0\n }\n ],\n \"last_indexed_at\": \"2019-11-27T00:36:42.368Z\"\n },\n \"product_id\": \"1614B21D4D\",\n \"quantity\": 2,\n \"sku\": \"SKU\",\n \"total_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"total_value\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2019-11-27T00:36:42.390Z\",\n \"via\": null\n }\n ],\n \"lock_expires_at\": null,\n \"metrics_saved_at\": \"2019-11-27T00:36:45.303Z\",\n \"placed_at\": \"2019-11-27T00:36:45.030Z\",\n \"pricing_cache_key\": \"e3d317037138dce0a16d0ef03aa43731a7cf7572\",\n \"promo_codes\": [\n\n ],\n \"reminded_at\": null,\n \"segment_ids\": [\n\n ],\n \"shipping_total\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"source\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"subtotal_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"tax_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"token\": \"XTu6w8mWR254joNcpBVQLB6z\",\n \"total_price\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"total_value\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2019-11-27T00:36:45.037Z\",\n \"user_activity_id\": null,\n \"user_agent\": null,\n \"user_id\": null\n }\n ]\n}",
|
52
|
+
"response_body": "{\n \"orders\": [\n {\n \"_id\": \"1001\",\n \"canceled_at\": null,\n \"checkout_by_id\": null,\n \"checkout_started_at\": null,\n \"copied_from_id\": null,\n \"created_at\": \"2020-08-19T13:50:02.201Z\",\n \"discount_ids\": [\n\n ],\n \"email\": \"bcrouse-new@workarea.com\",\n \"fraud_decided_at\": \"2020-08-19T13:50:05.459Z\",\n \"fraud_decision\": {\n \"_id\": \"5f3d2e0d0218236de151f457\",\n \"analyzer\": \"Workarea::Checkout::Fraud::TestAnalyzer\",\n \"created_at\": null,\n \"decision\": \"no_decision\",\n \"message\": \"Workarea default fraud check. Automatic no decision.\",\n \"response\": null,\n \"updated_at\": null\n },\n \"fraud_suspected_at\": null,\n \"ip_address\": null,\n \"items\": [\n {\n \"_id\": \"5f3d2e0a0218236de151f415\",\n \"category_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:50:02.200Z\",\n \"customizations\": {\n },\n \"discountable\": true,\n \"free_gift\": false,\n \"fulfillment\": \"shipping\",\n \"price_adjustments\": [\n {\n \"_id\": \"5f3d2e0c0218236de151f455\",\n \"amount\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"calculator\": \"Workarea::Pricing::Calculators::ItemCalculator\",\n \"created_at\": null,\n \"data\": {\n \"on_sale\": false,\n \"original_price\": 5.0,\n \"tax_code\": null\n },\n \"description\": \"Item Subtotal\",\n \"price\": \"item\",\n \"quantity\": 2,\n \"updated_at\": null\n }\n ],\n \"product_attributes\": {\n \"_id\": \"81D3D09226\",\n \"tags\": [\n\n ],\n \"active_segment_ids\": {\n \"en\": [\n\n ]\n },\n \"active\": {\n \"en\": true\n },\n \"subscribed_user_ids\": [\n\n ],\n \"details\": {\n \"en\": {\n \"Material\": [\n \"Cotton\"\n ],\n \"Style\": [\n \"12345\"\n ]\n }\n },\n \"filters\": {\n \"en\": {\n \"Material\": \"Cotton\",\n \"Style\": \"12345\"\n }\n },\n \"template\": \"generic\",\n \"purchasable\": true,\n \"name\": {\n \"en\": \"Test Product\"\n },\n \"digital\": false,\n \"slug\": \"test-product\",\n \"updated_at\": \"2020-08-19T13:50:01.618Z\",\n \"created_at\": \"2020-08-19T13:49:56.870Z\",\n \"variants\": [\n {\n \"_id\": \"5f3d2e040218236de151f3d4\",\n \"active_segment_ids\": {\n \"en\": [\n\n ]\n },\n \"active\": {\n \"en\": true\n },\n \"details\": {\n \"en\": {\n }\n },\n \"sku\": \"SKU\",\n \"name\": {\n \"en\": \"SKU\"\n },\n \"position\": 0\n }\n ],\n \"last_indexed_at\": \"2020-08-19T13:50:01.825Z\"\n },\n \"product_id\": \"81D3D09226\",\n \"quantity\": 2,\n \"sku\": \"SKU\",\n \"total_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"total_value\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2020-08-19T13:50:02.200Z\",\n \"via\": null\n }\n ],\n \"lock_expires_at\": null,\n \"metrics_saved_at\": \"2020-08-19T13:50:06.334Z\",\n \"placed_at\": \"2020-08-19T13:50:06.071Z\",\n \"pricing_cache_key\": \"04c1ca0950a863d8ec67d52574b6ceebe4571e51\",\n \"promo_codes\": [\n\n ],\n \"reminded_at\": null,\n \"segment_ids\": [\n\n ],\n \"shipping_total\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"source\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"subtotal_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"tax_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"token\": \"57ps1ZWiZ8v9AeMzaLc3uUjM\",\n \"total_price\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"total_value\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2020-08-19T13:50:06.077Z\",\n \"user_activity_id\": null,\n \"user_agent\": null,\n \"user_id\": null\n },\n {\n \"_id\": \"1000\",\n \"canceled_at\": null,\n \"checkout_by_id\": null,\n \"checkout_started_at\": null,\n \"copied_from_id\": null,\n \"created_at\": \"2020-08-19T13:49:57.250Z\",\n \"discount_ids\": [\n\n ],\n \"email\": \"bcrouse-new@workarea.com\",\n \"fraud_decided_at\": \"2020-08-19T13:50:00.217Z\",\n \"fraud_decision\": {\n \"_id\": \"5f3d2e080218236de151f405\",\n \"analyzer\": \"Workarea::Checkout::Fraud::TestAnalyzer\",\n \"created_at\": null,\n \"decision\": \"no_decision\",\n \"message\": \"Workarea default fraud check. Automatic no decision.\",\n \"response\": null,\n \"updated_at\": null\n },\n \"fraud_suspected_at\": null,\n \"ip_address\": null,\n \"items\": [\n {\n \"_id\": \"5f3d2e050218236de151f3da\",\n \"category_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:49:57.250Z\",\n \"customizations\": {\n },\n \"discountable\": true,\n \"free_gift\": false,\n \"fulfillment\": \"shipping\",\n \"price_adjustments\": [\n {\n \"_id\": \"5f3d2e070218236de151f403\",\n \"amount\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"calculator\": \"Workarea::Pricing::Calculators::ItemCalculator\",\n \"created_at\": null,\n \"data\": {\n \"on_sale\": false,\n \"original_price\": 5.0,\n \"tax_code\": null\n },\n \"description\": \"Item Subtotal\",\n \"price\": \"item\",\n \"quantity\": 2,\n \"updated_at\": null\n }\n ],\n \"product_attributes\": {\n \"_id\": \"81D3D09226\",\n \"tags\": [\n\n ],\n \"active_segment_ids\": {\n \"en\": [\n\n ]\n },\n \"active\": {\n \"en\": true\n },\n \"subscribed_user_ids\": [\n\n ],\n \"details\": {\n \"en\": {\n \"Material\": [\n \"Cotton\"\n ],\n \"Style\": [\n \"12345\"\n ]\n }\n },\n \"filters\": {\n \"en\": {\n \"Material\": \"Cotton\",\n \"Style\": \"12345\"\n }\n },\n \"template\": \"generic\",\n \"purchasable\": true,\n \"name\": {\n \"en\": \"Test Product\"\n },\n \"digital\": false,\n \"slug\": \"test-product\",\n \"updated_at\": \"2020-08-19T13:49:56.870Z\",\n \"created_at\": \"2020-08-19T13:49:56.870Z\",\n \"variants\": [\n {\n \"_id\": \"5f3d2e040218236de151f3d4\",\n \"active_segment_ids\": {\n \"en\": [\n\n ]\n },\n \"active\": {\n \"en\": true\n },\n \"details\": {\n \"en\": {\n }\n },\n \"sku\": \"SKU\",\n \"name\": {\n \"en\": \"SKU\"\n },\n \"position\": 0\n }\n ],\n \"last_indexed_at\": \"2020-08-19T13:49:57.219Z\"\n },\n \"product_id\": \"81D3D09226\",\n \"quantity\": 2,\n \"sku\": \"SKU\",\n \"total_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"total_value\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2020-08-19T13:49:57.250Z\",\n \"via\": null\n }\n ],\n \"lock_expires_at\": null,\n \"metrics_saved_at\": \"2020-08-19T13:50:01.127Z\",\n \"placed_at\": \"2020-08-19T13:50:00.837Z\",\n \"pricing_cache_key\": \"4db86898744b4635c09a196c949f46939a522674\",\n \"promo_codes\": [\n\n ],\n \"reminded_at\": null,\n \"segment_ids\": [\n\n ],\n \"shipping_total\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"source\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"subtotal_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"tax_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"token\": \"zKGD7mSvRA6SK7Phkwzkq2NC\",\n \"total_price\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"total_value\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2020-08-19T13:50:00.843Z\",\n \"user_activity_id\": null,\n \"user_agent\": null,\n \"user_id\": null\n }\n ]\n}",
|
53
53
|
"response_content_type": "application/json",
|
54
54
|
"curl": "curl -g \"https://www.example.com/api/admin/orders?page=1&sort_by=created_at&sort_direction=desc+\" -X GET "
|
55
55
|
}
|
@@ -21,13 +21,13 @@
|
|
21
21
|
"Content-Type": "application/json; charset=utf-8",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:49:55 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "c924303a-23a2-461b-b595-83464b424e98",
|
27
|
+
"X-Runtime": "0.022659",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0",
|
30
|
-
"Content-Length": "
|
30
|
+
"Content-Length": "5126"
|
31
31
|
},
|
32
32
|
"request_method": "GET",
|
33
33
|
"request_path": "/api/admin/orders/1234",
|
@@ -35,7 +35,7 @@
|
|
35
35
|
"request_content_type": null,
|
36
36
|
"response_status": 200,
|
37
37
|
"response_status_text": "OK",
|
38
|
-
"response_body": "{\n \"order\": {\n \"_id\": \"1234\",\n \"canceled_at\": null,\n \"checkout_by_id\": null,\n \"checkout_started_at\": null,\n \"copied_from_id\": null,\n \"created_at\": \"
|
38
|
+
"response_body": "{\n \"order\": {\n \"_id\": \"1234\",\n \"canceled_at\": null,\n \"checkout_by_id\": null,\n \"checkout_started_at\": null,\n \"copied_from_id\": null,\n \"created_at\": \"2020-08-19T13:49:51.370Z\",\n \"discount_ids\": [\n\n ],\n \"email\": \"bcrouse-new@workarea.com\",\n \"fraud_decided_at\": \"2020-08-19T13:49:54.261Z\",\n \"fraud_decision\": {\n \"_id\": \"5f3d2e020218236de151f3c8\",\n \"analyzer\": \"Workarea::Checkout::Fraud::TestAnalyzer\",\n \"created_at\": null,\n \"decision\": \"no_decision\",\n \"message\": \"Workarea default fraud check. Automatic no decision.\",\n \"response\": null,\n \"updated_at\": null\n },\n \"fraud_suspected_at\": null,\n \"ip_address\": null,\n \"items\": [\n {\n \"_id\": \"5f3d2dff0218236de151f39d\",\n \"category_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:49:51.370Z\",\n \"customizations\": {\n },\n \"discountable\": true,\n \"free_gift\": false,\n \"fulfillment\": \"shipping\",\n \"price_adjustments\": [\n {\n \"_id\": \"5f3d2e010218236de151f3c6\",\n \"amount\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"calculator\": \"Workarea::Pricing::Calculators::ItemCalculator\",\n \"created_at\": null,\n \"data\": {\n \"on_sale\": false,\n \"original_price\": 5.0,\n \"tax_code\": null\n },\n \"description\": \"Item Subtotal\",\n \"price\": \"item\",\n \"quantity\": 2,\n \"updated_at\": null\n }\n ],\n \"product_attributes\": {\n \"_id\": \"3DDE0BAA4B\",\n \"tags\": [\n\n ],\n \"active_segment_ids\": {\n \"en\": [\n\n ]\n },\n \"active\": {\n \"en\": true\n },\n \"subscribed_user_ids\": [\n\n ],\n \"details\": {\n \"en\": {\n \"Material\": [\n \"Cotton\"\n ],\n \"Style\": [\n \"12345\"\n ]\n }\n },\n \"filters\": {\n \"en\": {\n \"Material\": \"Cotton\",\n \"Style\": \"12345\"\n }\n },\n \"template\": \"generic\",\n \"purchasable\": true,\n \"name\": {\n \"en\": \"Test Product\"\n },\n \"digital\": false,\n \"slug\": \"test-product\",\n \"updated_at\": \"2020-08-19T13:49:50.990Z\",\n \"created_at\": \"2020-08-19T13:49:50.990Z\",\n \"variants\": [\n {\n \"_id\": \"5f3d2dfe0218236de151f397\",\n \"active_segment_ids\": {\n \"en\": [\n\n ]\n },\n \"active\": {\n \"en\": true\n },\n \"details\": {\n \"en\": {\n }\n },\n \"sku\": \"SKU\",\n \"name\": {\n \"en\": \"SKU\"\n },\n \"position\": 0\n }\n ],\n \"last_indexed_at\": \"2020-08-19T13:49:51.340Z\"\n },\n \"product_id\": \"3DDE0BAA4B\",\n \"quantity\": 2,\n \"sku\": \"SKU\",\n \"total_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"total_value\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2020-08-19T13:49:51.370Z\",\n \"via\": null\n }\n ],\n \"lock_expires_at\": null,\n \"metrics_saved_at\": \"2020-08-19T13:49:55.221Z\",\n \"placed_at\": \"2020-08-19T13:49:54.936Z\",\n \"pricing_cache_key\": \"73432c41a295155f95a373ac2546160acb939797\",\n \"promo_codes\": [\n\n ],\n \"reminded_at\": null,\n \"segment_ids\": [\n\n ],\n \"shipping_total\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"source\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"subtotal_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"tax_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"token\": \"gF9BnwfnkAtTJXbJcAS6VbaQ\",\n \"total_price\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"total_value\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2020-08-19T13:49:54.942Z\",\n \"user_activity_id\": null,\n \"user_agent\": null,\n \"user_id\": null\n },\n \"payment\": {\n \"_id\": \"1234\",\n \"address\": {\n \"_id\": \"5f3d2dff0218236de151f3ad\",\n \"city\": \"Philadelphia\",\n \"company\": null,\n \"country\": \"US\",\n \"created_at\": null,\n \"first_name\": \"Ben\",\n \"last_name\": \"Crouse\",\n \"phone_extension\": null,\n \"phone_number\": null,\n \"postal_code\": \"19106\",\n \"region\": \"PA\",\n \"street\": \"22 S. 3rd St.\",\n \"street_2\": \"Second Floor\",\n \"updated_at\": null\n },\n \"created_at\": \"2020-08-19T13:49:51.802Z\",\n \"credit_card\": {\n \"_id\": \"5f3d2e000218236de151f3bc\",\n \"amount\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"created_at\": null,\n \"display_number\": \"XXXX-XXXX-XXXX-1\",\n \"issuer\": \"Test Card\",\n \"month\": 1,\n \"saved_card_id\": null,\n \"token\": \"1\",\n \"updated_at\": \"2020-08-19T13:49:54.547Z\",\n \"year\": 2021\n },\n \"profile_id\": \"5f3d2e000218236de151f3bb\",\n \"updated_at\": \"2020-08-19T13:49:54.560Z\"\n },\n \"payment_transactions\": [\n {\n \"_id\": \"5f3d2e020218236de151f3cb\",\n \"action\": \"authorize\",\n \"amount\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"canceled_at\": null,\n \"cancellation\": null,\n \"created_at\": \"2020-08-19T13:49:54.552Z\",\n \"payment_id\": \"1234\",\n \"reference_id\": null,\n \"response\": {\n \"success\": true,\n \"message\": \"Bogus Gateway: Forced success\",\n \"params\": {\n \"authorized_amount\": \"11.00\"\n },\n \"options\": {\n \"test\": true,\n \"authorization\": \"53433\",\n \"avs_result\": {\n \"code\": null,\n \"message\": null,\n \"street_match\": null,\n \"postal_match\": null\n },\n \"cvv_result\": null\n }\n },\n \"success\": true,\n \"tender_id\": \"5f3d2e000218236de151f3bc\",\n \"updated_at\": \"2020-08-19T13:49:54.552Z\"\n }\n ],\n \"fulfillment\": {\n \"_id\": \"1234\",\n \"created_at\": \"2020-08-19T13:49:55.232Z\",\n \"items\": [\n {\n \"_id\": \"5f3d2e030218236de151f3cc\",\n \"created_at\": null,\n \"order_item_id\": \"5f3d2dff0218236de151f39d\",\n \"quantity\": 2,\n \"updated_at\": null\n }\n ],\n \"updated_at\": \"2020-08-19T13:49:55.232Z\"\n },\n \"shippings\": [\n {\n \"_id\": \"5f3d2dff0218236de151f39e\",\n \"address\": {\n \"_id\": \"5f3d2dff0218236de151f39f\",\n \"city\": \"Philadelphia\",\n \"company\": null,\n \"country\": \"US\",\n \"created_at\": null,\n \"first_name\": \"Ben\",\n \"last_name\": \"Crouse\",\n \"phone_extension\": null,\n \"phone_number\": null,\n \"postal_code\": \"19106\",\n \"region\": \"PA\",\n \"street\": \"22 S. 3rd St.\",\n \"street_2\": \"Second Floor\",\n \"updated_at\": null\n },\n \"created_at\": \"2020-08-19T13:49:51.521Z\",\n \"discount_ids\": [\n\n ],\n \"instructions\": \"\",\n \"order_id\": \"1234\",\n \"price_adjustments\": [\n {\n \"_id\": \"5f3d2e000218236de151f3ba\",\n \"amount\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"calculator\": \"Workarea::Shipping\",\n \"created_at\": null,\n \"data\": {\n \"tax_code\": null\n },\n \"description\": \"Test 39\",\n \"price\": \"shipping\",\n \"quantity\": 1,\n \"updated_at\": null\n }\n ],\n \"quantities\": {\n },\n \"shipping_service\": {\n \"_id\": \"5f3d2dff0218236de151f3ab\",\n \"carrier\": null,\n \"created_at\": null,\n \"name\": \"Test 39\",\n \"service_code\": null,\n \"tax_code\": null,\n \"updated_at\": null\n },\n \"shipping_total\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"tax_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2020-08-19T13:49:53.502Z\"\n }\n ]\n}",
|
39
39
|
"response_content_type": "application/json",
|
40
40
|
"curl": "curl -g \"https://www.example.com/api/admin/orders/1234\" -X GET "
|
41
41
|
}
|
@@ -36,8 +36,8 @@
|
|
36
36
|
"page": "1",
|
37
37
|
"sort_by": "created_at",
|
38
38
|
"sort_direction": "desc",
|
39
|
-
"placed_at_greater_than": "
|
40
|
-
"placed_at_less_than": "
|
39
|
+
"placed_at_greater_than": "2020-08-04 13:50:39 UTC",
|
40
|
+
"placed_at_less_than": "2020-08-06 13:50:39 UTC",
|
41
41
|
"email": "test@workarea.com"
|
42
42
|
},
|
43
43
|
"response_headers": {
|
@@ -50,23 +50,23 @@
|
|
50
50
|
"Content-Type": "application/json; charset=utf-8",
|
51
51
|
"X-Requested-With": "",
|
52
52
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
53
|
-
"Last-Modified": "Wed,
|
53
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:50:39 GMT",
|
54
54
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
55
|
-
"X-Request-Id": "
|
56
|
-
"X-Runtime": "0.
|
55
|
+
"X-Request-Id": "cd504100-86eb-408f-921e-fcdd6b0a350f",
|
56
|
+
"X-Runtime": "0.009093",
|
57
57
|
"X-Workarea-Segments": "",
|
58
58
|
"Expires": "0",
|
59
59
|
"Content-Length": "2550"
|
60
60
|
},
|
61
61
|
"request_method": "GET",
|
62
|
-
"request_path": "/api/admin/orders?page=1&sort_by=created_at&sort_direction=desc&placed_at_greater_than=
|
62
|
+
"request_path": "/api/admin/orders?page=1&sort_by=created_at&sort_direction=desc&placed_at_greater_than=2020-08-04+13%3A50%3A39+UTC&placed_at_less_than=2020-08-06+13%3A50%3A39+UTC&email=test%40workarea.com",
|
63
63
|
"request_body": null,
|
64
64
|
"request_content_type": null,
|
65
65
|
"response_status": 200,
|
66
66
|
"response_status_text": "OK",
|
67
|
-
"response_body": "{\n \"orders\": [\n {\n \"_id\": \"10002\",\n \"canceled_at\": null,\n \"checkout_by_id\": null,\n \"checkout_started_at\": null,\n \"copied_from_id\": null,\n \"created_at\": \"
|
67
|
+
"response_body": "{\n \"orders\": [\n {\n \"_id\": \"10002\",\n \"canceled_at\": null,\n \"checkout_by_id\": null,\n \"checkout_started_at\": null,\n \"copied_from_id\": null,\n \"created_at\": \"2020-08-19T13:50:35.408Z\",\n \"discount_ids\": [\n\n ],\n \"email\": \"test@workarea.com\",\n \"fraud_decided_at\": \"2020-08-19T13:50:38.592Z\",\n \"fraud_decision\": {\n \"_id\": \"5f3d2e2e0218236de151f735\",\n \"analyzer\": \"Workarea::Checkout::Fraud::TestAnalyzer\",\n \"created_at\": null,\n \"decision\": \"no_decision\",\n \"message\": \"Workarea default fraud check. Automatic no decision.\",\n \"response\": null,\n \"updated_at\": null\n },\n \"fraud_suspected_at\": null,\n \"ip_address\": null,\n \"items\": [\n {\n \"_id\": \"5f3d2e2b0218236de151f697\",\n \"category_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:50:35.408Z\",\n \"customizations\": {\n },\n \"discountable\": true,\n \"free_gift\": false,\n \"fulfillment\": \"shipping\",\n \"price_adjustments\": [\n {\n \"_id\": \"5f3d2e2d0218236de151f733\",\n \"amount\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"calculator\": \"Workarea::Pricing::Calculators::ItemCalculator\",\n \"created_at\": null,\n \"data\": {\n \"on_sale\": false,\n \"original_price\": 5.0,\n \"tax_code\": null\n },\n \"description\": \"Item Subtotal\",\n \"price\": \"item\",\n \"quantity\": 2,\n \"updated_at\": null\n }\n ],\n \"product_attributes\": {\n \"_id\": \"D863AC7057\",\n \"tags\": [\n\n ],\n \"active_segment_ids\": {\n \"en\": [\n\n ]\n },\n \"active\": {\n \"en\": true\n },\n \"subscribed_user_ids\": [\n\n ],\n \"details\": {\n \"en\": {\n \"Material\": [\n \"Cotton\"\n ],\n \"Style\": [\n \"12345\"\n ]\n }\n },\n \"filters\": {\n \"en\": {\n \"Material\": \"Cotton\",\n \"Style\": \"12345\"\n }\n },\n \"template\": \"generic\",\n \"purchasable\": true,\n \"name\": {\n \"en\": \"Test Product\"\n },\n \"digital\": false,\n \"slug\": \"test-product\",\n \"updated_at\": \"2020-08-19T13:50:34.196Z\",\n \"created_at\": \"2020-08-19T13:50:07.982Z\",\n \"variants\": [\n {\n \"_id\": \"5f3d2e0f0218236de151f464\",\n \"active_segment_ids\": {\n \"en\": [\n\n ]\n },\n \"active\": {\n \"en\": true\n },\n \"details\": {\n \"en\": {\n }\n },\n \"sku\": \"SKU\",\n \"name\": {\n \"en\": \"SKU\"\n },\n \"position\": 0\n }\n ],\n \"last_indexed_at\": \"2020-08-19T13:50:34.986Z\"\n },\n \"product_id\": \"D863AC7057\",\n \"quantity\": 2,\n \"sku\": \"SKU\",\n \"total_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"total_value\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2020-08-19T13:50:35.408Z\",\n \"via\": null\n }\n ],\n \"lock_expires_at\": null,\n \"metrics_saved_at\": \"2020-08-19T13:50:39.456Z\",\n \"placed_at\": \"2020-08-05T13:50:34.173Z\",\n \"pricing_cache_key\": \"714834562bba627e3a0291a63d79e9e6ba368a8c\",\n \"promo_codes\": [\n\n ],\n \"reminded_at\": null,\n \"segment_ids\": [\n\n ],\n \"shipping_total\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"source\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"subtotal_price\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"tax_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"token\": \"nsphf9Q4yaCfKFVhJn791LZ5\",\n \"total_price\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"total_value\": {\n \"cents\": 1000.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2020-08-19T13:50:39.687Z\",\n \"user_activity_id\": null,\n \"user_agent\": null,\n \"user_id\": null\n }\n ]\n}",
|
68
68
|
"response_content_type": "application/json",
|
69
|
-
"curl": "curl -g \"https://www.example.com/api/admin/orders?page=1&sort_by=created_at&sort_direction=desc&placed_at_greater_than=
|
69
|
+
"curl": "curl -g \"https://www.example.com/api/admin/orders?page=1&sort_by=created_at&sort_direction=desc&placed_at_greater_than=2020-08-04+13%3A50%3A39+UTC&placed_at_less_than=2020-08-06+13%3A50%3A39+UTC&email=test%40workarea.com\" -X GET "
|
70
70
|
}
|
71
71
|
],
|
72
72
|
"resource": "Orders",
|
@@ -21,22 +21,22 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"X-Requested-With": "",
|
23
23
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
24
|
-
"Last-Modified": "Wed,
|
24
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:48:06 GMT",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "
|
26
|
+
"X-Request-Id": "41a5602a-e426-4aa6-86b6-643d4bb07dfa",
|
27
|
+
"X-Runtime": "0.331670",
|
28
28
|
"X-Workarea-Segments": "",
|
29
29
|
"Expires": "0"
|
30
30
|
},
|
31
31
|
"request_method": "PATCH",
|
32
32
|
"request_path": "/api/admin/pages/bulk",
|
33
|
-
"request_body": "{\"pages\":[{\"active\":true,\"active_segment_ids\":[],\"created_at\":\"
|
33
|
+
"request_body": "{\"pages\":[{\"active\":true,\"active_segment_ids\":[],\"created_at\":\"2020-08-19T13:48:05.618Z\",\"display_h1\":true,\"name\":\"Test Page\",\"show_navigation\":false,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2020-08-19T13:48:05.618Z\"},{\"active\":true,\"active_segment_ids\":[],\"created_at\":\"2020-08-19T13:48:05.618Z\",\"display_h1\":true,\"name\":\"Test Page\",\"show_navigation\":false,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2020-08-19T13:48:05.618Z\"},{\"active\":true,\"active_segment_ids\":[],\"created_at\":\"2020-08-19T13:48:05.618Z\",\"display_h1\":true,\"name\":\"Test Page\",\"show_navigation\":false,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2020-08-19T13:48:05.618Z\"}]}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 204,
|
36
36
|
"response_status_text": "No Content",
|
37
37
|
"response_body": null,
|
38
38
|
"response_content_type": null,
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/pages/bulk\" -d '{\"pages\":[{\"active\":true,\"active_segment_ids\":[],\"created_at\":\"
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/pages/bulk\" -d '{\"pages\":[{\"active\":true,\"active_segment_ids\":[],\"created_at\":\"2020-08-19T13:48:05.618Z\",\"display_h1\":true,\"name\":\"Test Page\",\"show_navigation\":false,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2020-08-19T13:48:05.618Z\"},{\"active\":true,\"active_segment_ids\":[],\"created_at\":\"2020-08-19T13:48:05.618Z\",\"display_h1\":true,\"name\":\"Test Page\",\"show_navigation\":false,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2020-08-19T13:48:05.618Z\"},{\"active\":true,\"active_segment_ids\":[],\"created_at\":\"2020-08-19T13:48:05.618Z\",\"display_h1\":true,\"name\":\"Test Page\",\"show_navigation\":false,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2020-08-19T13:48:05.618Z\"}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Pages",
|
@@ -19,27 +19,27 @@
|
|
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/pages/
|
22
|
+
"Location": "/api/admin/pages/5f3d2d990218236de151ef26",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
24
|
"X-Requested-With": "",
|
25
25
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
26
|
-
"Last-Modified": "Wed,
|
26
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:48:09 GMT",
|
27
27
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
28
|
-
"X-Request-Id": "
|
29
|
-
"X-Runtime": "0.
|
28
|
+
"X-Request-Id": "f4f3da55-ef87-4020-a57f-b1a51b152356",
|
29
|
+
"X-Runtime": "0.084210",
|
30
30
|
"X-Workarea-Segments": "",
|
31
31
|
"Expires": "0",
|
32
32
|
"Content-Length": "299"
|
33
33
|
},
|
34
34
|
"request_method": "POST",
|
35
35
|
"request_path": "/api/admin/pages",
|
36
|
-
"request_body": "{\"active\":true,\"active_segment_ids\":[],\"created_at\":\"
|
36
|
+
"request_body": "{\"active\":true,\"active_segment_ids\":[],\"created_at\":\"2020-08-19T13:48:09.581Z\",\"display_h1\":true,\"name\":\"Test Page\",\"show_navigation\":false,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2020-08-19T13:48:09.581Z\"}",
|
37
37
|
"request_content_type": "application/json",
|
38
38
|
"response_status": 201,
|
39
39
|
"response_status_text": "Created",
|
40
|
-
"response_body": "{\n \"page\": {\n \"_id\": \"
|
40
|
+
"response_body": "{\n \"page\": {\n \"_id\": \"5f3d2d990218236de151ef26\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:48:09.581Z\",\n \"display_h1\": true,\n \"name\": \"Test Page\",\n \"show_navigation\": false,\n \"slug\": \"test-page-1\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"template\": \"generic\",\n \"updated_at\": \"2020-08-19T13:48:09.581Z\"\n }\n}",
|
41
41
|
"response_content_type": "application/json",
|
42
|
-
"curl": "curl \"https://www.example.com/api/admin/pages\" -d '{\"active\":true,\"active_segment_ids\":[],\"created_at\":\"
|
42
|
+
"curl": "curl \"https://www.example.com/api/admin/pages\" -d '{\"active\":true,\"active_segment_ids\":[],\"created_at\":\"2020-08-19T13:48:09.581Z\",\"display_h1\":true,\"name\":\"Test Page\",\"show_navigation\":false,\"subscribed_user_ids\":[],\"tags\":[],\"template\":\"generic\",\"updated_at\":\"2020-08-19T13:48:09.581Z\"}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
43
43
|
}
|
44
44
|
],
|
45
45
|
"resource": "Pages",
|
@@ -35,10 +35,10 @@
|
|
35
35
|
"Content-Type": "application/json; charset=utf-8",
|
36
36
|
"X-Requested-With": "",
|
37
37
|
"Vary": "X-Requested-With, X-Workarea-Segments",
|
38
|
-
"Last-Modified": "Wed,
|
38
|
+
"Last-Modified": "Wed, 19 Aug 2020 13:48:04 GMT",
|
39
39
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
40
|
-
"X-Request-Id": "
|
41
|
-
"X-Runtime": "0.
|
40
|
+
"X-Request-Id": "6ff1acab-c073-405f-b184-a42c78894535",
|
41
|
+
"X-Runtime": "0.006228",
|
42
42
|
"X-Workarea-Segments": "",
|
43
43
|
"Expires": "0",
|
44
44
|
"Content-Length": "591"
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"request_content_type": null,
|
50
50
|
"response_status": 200,
|
51
51
|
"response_status_text": "OK",
|
52
|
-
"response_body": "{\n \"pages\": [\n {\n \"_id\": \"
|
52
|
+
"response_body": "{\n \"pages\": [\n {\n \"_id\": \"5f3d2d940218236de151eef7\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:48:04.485Z\",\n \"display_h1\": true,\n \"name\": \"Test Page\",\n \"show_navigation\": false,\n \"slug\": \"test-page-1\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"template\": \"generic\",\n \"updated_at\": \"2020-08-19T13:48:04.485Z\"\n },\n {\n \"_id\": \"5f3d2d940218236de151eef5\",\n \"active\": true,\n \"active_segment_ids\": [\n\n ],\n \"created_at\": \"2020-08-19T13:48:04.356Z\",\n \"display_h1\": true,\n \"name\": \"Test Page\",\n \"show_navigation\": false,\n \"slug\": \"test-page\",\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"template\": \"generic\",\n \"updated_at\": \"2020-08-19T13:48:04.356Z\"\n }\n ]\n}",
|
53
53
|
"response_content_type": "application/json",
|
54
54
|
"curl": "curl -g \"https://www.example.com/api/admin/pages?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
|
55
55
|
}
|