workarea-api 4.4.6 → 4.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -15
- data/admin/LICENSE +52 -0
- data/admin/README.md +4 -7
- data/admin/workarea-api-admin.gemspec +5 -4
- data/doc/api/admin/categories/bulk_upserting_categories.json +4 -4
- data/doc/api/admin/categories/creating_a_category.json +7 -7
- data/doc/api/admin/categories/listing_categories.json +4 -4
- data/doc/api/admin/categories/removing_a_category.json +4 -4
- data/doc/api/admin/categories/showing_a_category.json +6 -6
- data/doc/api/admin/categories/updating_a_category.json +5 -5
- data/doc/api/admin/category_product_rules/creating_a_category_product_rule.json +7 -7
- data/doc/api/admin/category_product_rules/listing_category_product_rules.json +6 -6
- data/doc/api/admin/category_product_rules/removing_a_category_product_rule.json +4 -4
- data/doc/api/admin/category_product_rules/updating_a_category_product_rule.json +4 -4
- data/doc/api/admin/content/bulk_upserting_content.json +4 -4
- data/doc/api/admin/content/creating_content.json +7 -7
- data/doc/api/admin/content/listing_content.json +4 -4
- data/doc/api/admin/content/showing_content.json +6 -6
- data/doc/api/admin/content/updating_content.json +4 -4
- data/doc/api/admin/content_assets/bulk_upserting_content_assets.json +4 -4
- data/doc/api/admin/content_assets/creating_a_content_asset.json +7 -7
- data/doc/api/admin/content_assets/listing_content_assets.json +5 -5
- data/doc/api/admin/content_assets/removing_a_content_asset.json +4 -4
- data/doc/api/admin/content_assets/showing_a_content_asset.json +6 -6
- data/doc/api/admin/content_assets/updating_a_content_asset.json +5 -5
- data/doc/api/admin/discounts/creating_a_discount.json +7 -7
- data/doc/api/admin/discounts/listing_discounts.json +4 -4
- data/doc/api/admin/discounts/removing_a_discount.json +4 -4
- data/doc/api/admin/discounts/showing_a_discount.json +6 -6
- data/doc/api/admin/discounts/updating_discounts.json +4 -4
- data/doc/api/admin/email_signups/listing_email_signups.json +4 -4
- data/doc/api/admin/email_signups/showing_an_email_signup.json +6 -6
- data/doc/api/admin/fulfillment/listing_fulfillments.json +4 -4
- data/doc/api/admin/fulfillment/marking_items_as_canceled.json +6 -6
- data/doc/api/admin/fulfillment/marking_items_as_shipped.json +6 -6
- data/doc/api/admin/fulfillment/showing_fulfillment.json +4 -4
- data/doc/api/admin/inventory_skus/bulk_upserting_inventory_skus.json +4 -4
- data/doc/api/admin/inventory_skus/creating_an_inventory_sku.json +6 -6
- data/doc/api/admin/inventory_skus/listing_inventory_skus.json +4 -4
- data/doc/api/admin/inventory_skus/removing_an_inventory_sku.json +2 -2
- data/doc/api/admin/inventory_skus/showing_an_inventory_sku.json +4 -4
- data/doc/api/admin/inventory_skus/updating_an_inventory_sku.json +2 -2
- data/doc/api/admin/navigation_menus/creating_a_menu.json +7 -7
- data/doc/api/admin/navigation_menus/listing_menus.json +4 -4
- data/doc/api/admin/navigation_menus/removing_a_navigation_menu.json +4 -4
- data/doc/api/admin/navigation_menus/showing_a_navigation_menu.json +6 -6
- data/doc/api/admin/navigation_menus/updating_a_navigation_menus.json +4 -4
- data/doc/api/admin/navigation_taxonomy/bulk_upserting_navigation_taxons.json +4 -4
- data/doc/api/admin/navigation_taxonomy/creating_a_taxon.json +7 -7
- data/doc/api/admin/navigation_taxonomy/listing_taxons.json +4 -4
- data/doc/api/admin/navigation_taxonomy/removing_a_navigation_taxon.json +4 -4
- data/doc/api/admin/navigation_taxonomy/showing_a_navigation_taxon.json +6 -6
- data/doc/api/admin/navigation_taxonomy/updating_a_navigation_taxons.json +4 -4
- data/doc/api/admin/orders/listing_orders.json +4 -4
- data/doc/api/admin/orders/showing_an_order.json +4 -4
- data/doc/api/admin/orders/viewing_orders_by_date_range.json +8 -8
- data/doc/api/admin/pages/bulk_upserting_pages.json +4 -4
- data/doc/api/admin/pages/creating_a_page.json +7 -7
- data/doc/api/admin/pages/listing_pages.json +4 -4
- data/doc/api/admin/pages/removing_a_page.json +4 -4
- data/doc/api/admin/pages/showing_a_page.json +6 -6
- data/doc/api/admin/pages/updating_a_page.json +5 -5
- data/doc/api/admin/payment_profiles/bulk_upserting_payment_profiles.json +4 -4
- data/doc/api/admin/payment_profiles/creating_a_payment_profile.json +7 -7
- data/doc/api/admin/payment_profiles/listing_payment_profiles.json +4 -4
- data/doc/api/admin/payment_profiles/removing_a_payment_profile.json +4 -4
- data/doc/api/admin/payment_profiles/showing_a_payment_profile.json +6 -6
- data/doc/api/admin/payment_profiles/updating_a_payment_profiles.json +4 -4
- data/doc/api/admin/payment_transactions/listing_payment_transactions.json +4 -4
- data/doc/api/admin/payment_transactions/showing_a_payment_transaction.json +6 -6
- data/doc/api/admin/payments/listing_payments.json +4 -4
- data/doc/api/admin/payments/showing_an_payment.json +4 -4
- data/doc/api/admin/prices/creating_a_pricing_sku_price.json +4 -4
- data/doc/api/admin/prices/listing_pricing_sku_prices.json +4 -4
- data/doc/api/admin/prices/removing_a_pricing_sku_price.json +4 -4
- data/doc/api/admin/prices/updating_a_pricing_sku_price.json +4 -4
- data/doc/api/admin/pricing_skus/bulk_upserting_pricing_skus.json +4 -4
- data/doc/api/admin/pricing_skus/creating_an_pricing_sku.json +6 -6
- data/doc/api/admin/pricing_skus/listing_pricing_skus.json +4 -4
- data/doc/api/admin/pricing_skus/removing_an_pricing_sku.json +2 -2
- data/doc/api/admin/pricing_skus/showing_an_pricing_sku.json +4 -4
- data/doc/api/admin/pricing_skus/updating_an_pricing_sku.json +2 -2
- data/doc/api/admin/product_images/creating_a_product_image_from_base64.json +7 -7
- data/doc/api/admin/product_images/creating_a_product_image_from_url.json +7 -7
- data/doc/api/admin/product_images/listing_product_images.json +6 -6
- data/doc/api/admin/product_images/removing_a_product_image.json +4 -4
- data/doc/api/admin/product_images/updating_a_product_image.json +4 -4
- data/doc/api/admin/products/bulk_upserting_products.json +4 -4
- data/doc/api/admin/products/creating_a_product.json +7 -7
- data/doc/api/admin/products/listing_products.json +4 -4
- data/doc/api/admin/products/removing_a_product.json +4 -4
- data/doc/api/admin/products/showing_a_product.json +6 -6
- data/doc/api/admin/products/updating_a_product.json +5 -5
- data/doc/api/admin/promo_code_lists/bulk_upserting_promo_code_lists.json +4 -4
- data/doc/api/admin/promo_code_lists/creating_a_promo_code_list.json +7 -7
- data/doc/api/admin/promo_code_lists/listing_promo_code_lists.json +4 -4
- data/doc/api/admin/promo_code_lists/removing_a_promo_code_list.json +4 -4
- data/doc/api/admin/promo_code_lists/showing_a_promo_code_list.json +6 -6
- data/doc/api/admin/promo_code_lists/updating_a_promo_code_list.json +4 -4
- data/doc/api/admin/recommendation_settings/showing_recommendation_settings.json +6 -6
- data/doc/api/admin/recommendation_settings/updating_recommendation_settings.json +4 -4
- data/doc/api/admin/redirects/bulk_upserting_redirects.json +4 -4
- data/doc/api/admin/redirects/creating_a_redirect.json +7 -7
- data/doc/api/admin/redirects/listing_redirects.json +4 -4
- data/doc/api/admin/redirects/removing_a_redirect.json +4 -4
- data/doc/api/admin/redirects/showing_a_redirect.json +6 -6
- data/doc/api/admin/redirects/updating_a_redirects.json +4 -4
- data/doc/api/admin/release_changes/adding_changes_to_a_release.json +7 -7
- data/doc/api/admin/releases/bulk_upserting_releases.json +4 -4
- data/doc/api/admin/releases/creating_a_release.json +7 -7
- data/doc/api/admin/releases/listing_releases.json +4 -4
- data/doc/api/admin/releases/removing_a_release.json +4 -4
- data/doc/api/admin/releases/showing_a_release.json +6 -6
- data/doc/api/admin/releases/updating_a_release.json +5 -5
- data/doc/api/admin/saved_addresses/creating_a_saved_address.json +7 -7
- data/doc/api/admin/saved_addresses/listing_saved_address.json +6 -6
- data/doc/api/admin/saved_addresses/removing_a_saved_address.json +4 -4
- data/doc/api/admin/saved_addresses/updating_a_saved_address.json +4 -4
- data/doc/api/admin/saved_credit_cards/creating_a_saved_credit_card.json +8 -8
- data/doc/api/admin/saved_credit_cards/listing_saved_credit_cards.json +6 -6
- data/doc/api/admin/saved_credit_cards/removing_a_saved_credit_card.json +4 -4
- data/doc/api/admin/saved_credit_cards/updating_a_saved_credit_card.json +4 -4
- data/doc/api/admin/shipping/listing_shipments.json +4 -4
- data/doc/api/admin/shipping/showing_a_shipment.json +6 -6
- data/doc/api/admin/shipping_rates/creating_a_shipping_rate.json +7 -7
- data/doc/api/admin/shipping_rates/listing_shipping_rates.json +6 -6
- data/doc/api/admin/shipping_rates/removing_a_shipping_rate.json +4 -4
- data/doc/api/admin/shipping_rates/updating_a_shipping_rate.json +4 -4
- data/doc/api/admin/shipping_services/bulk_upserting_shipping_services.json +4 -4
- data/doc/api/admin/shipping_services/creating_a_shipping_service.json +7 -7
- data/doc/api/admin/shipping_services/listing_shipping_services.json +4 -4
- data/doc/api/admin/shipping_services/removing_a_shipping_service.json +4 -4
- data/doc/api/admin/shipping_services/showing_a_shipping_service.json +6 -6
- data/doc/api/admin/shipping_services/updating_a_shipping_service.json +5 -5
- data/doc/api/admin/tax_categories/bulk_upserting_tax_categories.json +4 -4
- data/doc/api/admin/tax_categories/creating_a_tax_category.json +7 -7
- data/doc/api/admin/tax_categories/listing_tax_categories.json +4 -4
- data/doc/api/admin/tax_categories/removing_a_tax_category.json +4 -4
- data/doc/api/admin/tax_categories/showing_a_tax_category.json +6 -6
- data/doc/api/admin/tax_categories/updating_a_tax_categories.json +4 -4
- data/doc/api/admin/tax_rates/creating_a_tax_rate.json +8 -8
- data/doc/api/admin/tax_rates/listing_tax_rates.json +6 -6
- data/doc/api/admin/tax_rates/removing_a_tax_rate.json +4 -4
- data/doc/api/admin/tax_rates/updating_a_tax_rate.json +4 -4
- data/doc/api/admin/users/bulk_upserting_users.json +4 -4
- data/doc/api/admin/users/creating_a_user.json +7 -7
- data/doc/api/admin/users/listing_users.json +4 -4
- data/doc/api/admin/users/removing_a_user.json +4 -4
- data/doc/api/admin/users/showing_a_user.json +6 -6
- data/doc/api/admin/users/updating_a_user.json +5 -5
- data/doc/api/admin/variants/creating_a_product_variant.json +6 -6
- data/doc/api/admin/variants/listing_product_variants.json +6 -6
- data/doc/api/admin/variants/removing_a_product_variant.json +4 -4
- data/doc/api/admin/variants/updating_a_product_variant.json +4 -4
- data/doc/api/storefront/accounts/creating_an_account.json +6 -6
- data/doc/api/storefront/accounts/getting_account_details.json +6 -6
- data/doc/api/storefront/accounts/updating_an_account.json +6 -6
- data/doc/api/storefront/analytics/saving_a_category_view.json +4 -4
- data/doc/api/storefront/analytics/saving_a_product_view.json +4 -4
- data/doc/api/storefront/analytics/saving_a_search.json +4 -4
- data/doc/api/storefront/assets/showing_an_asset.json +8 -8
- data/doc/api/storefront/authentication/creating_an_authentication_token.json +8 -8
- data/doc/api/storefront/authentication/refreshing_an_authentication_token.json +8 -8
- data/doc/api/storefront/authentication/using_an_authentication_token.json +9 -9
- data/doc/api/storefront/cart/adding_a_promo_code.json +9 -9
- data/doc/api/storefront/cart/adding_an_item.json +9 -9
- data/doc/api/storefront/cart/creating_a_new_cart_for_a_user.json +8 -8
- data/doc/api/storefront/cart/creating_a_new_guest_cart.json +6 -6
- data/doc/api/storefront/cart/delete_an_item.json +9 -9
- data/doc/api/storefront/cart/listing_user_s_carts.json +8 -8
- data/doc/api/storefront/cart/showing_cart.json +9 -9
- data/doc/api/storefront/cart/updating_an_item.json +9 -9
- data/doc/api/storefront/categories/showing_a_category.json +7 -7
- data/doc/api/storefront/categories/showing_a_listing_of_categories.json +7 -7
- data/doc/api/storefront/checkout/completing_a_checkout.json +8 -8
- data/doc/api/storefront/checkout/showing_a_checkout.json +8 -8
- data/doc/api/storefront/checkout/updating_a_checkout.json +8 -8
- data/doc/api/storefront/contacts/creating_a_contact.json +6 -6
- data/doc/api/storefront/email_signups/creating_an_email_signup.json +6 -6
- data/doc/api/storefront/email_signups/showing_an_email_signup_content.json +6 -6
- data/doc/api/storefront/menus/listing_menus.json +7 -7
- data/doc/api/storefront/menus/showing_a_menu.json +9 -9
- data/doc/api/storefront/orders/listing_the_user_s_orders.json +8 -8
- data/doc/api/storefront/orders/showing_an_order.json +9 -9
- data/doc/api/storefront/pages/showing_a_page.json +7 -7
- data/doc/api/storefront/password_resets/sending_a_forgot_password_email.json +6 -6
- data/doc/api/storefront/personalized_recommendations/showing_recommendations_with_a_session_id.json +10 -10
- data/doc/api/storefront/personalized_recommendations/showing_recommendations_with_authentication.json +8 -8
- data/doc/api/storefront/products/showing_a_product.json +7 -7
- data/doc/api/storefront/products/showing_a_product_with_a_specific_sku_selected.json +7 -7
- data/doc/api/storefront/recent_views/showing_recent_views_from_authentication.json +7 -7
- data/doc/api/storefront/recent_views/showing_recent_views_with_a_session_id.json +10 -10
- data/doc/api/storefront/recent_views/updating_recent_views_with_a_session_id.json +4 -4
- data/doc/api/storefront/recent_views/updating_recent_views_with_authentication.json +6 -6
- data/doc/api/storefront/saved_addresses/creating_a_saved_address.json +6 -6
- data/doc/api/storefront/saved_addresses/deleting_a_saved_address.json +5 -5
- data/doc/api/storefront/saved_addresses/listing_the_user_s_saved_addresses.json +8 -8
- data/doc/api/storefront/saved_addresses/showing_a_saved_address.json +7 -7
- data/doc/api/storefront/saved_addresses/updating_a_saved_address.json +7 -7
- data/doc/api/storefront/saved_credit_cards/creating_a_saved_credit_card.json +6 -6
- data/doc/api/storefront/saved_credit_cards/deleting_a_saved_credit_card.json +5 -5
- data/doc/api/storefront/saved_credit_cards/listing_the_user_s_saved_credit_cards.json +8 -8
- data/doc/api/storefront/saved_credit_cards/showing_a_saved_credit_card.json +7 -7
- data/doc/api/storefront/saved_credit_cards/updating_a_saved_credit_card.json +7 -7
- data/doc/api/storefront/searches/showing_search_autocomplete_suggestions.json +7 -7
- data/doc/api/storefront/searches/showing_search_results.json +7 -7
- data/doc/api/storefront/system_content/showing_system_content.json +7 -7
- data/doc/api/storefront/system_content/showing_the_home_page.json +7 -7
- data/doc/api/storefront/taxons/showing_a_taxon.json +9 -9
- data/doc/api/storefront/validation_errors/checkout_validation_errors.json +8 -8
- data/doc/api/storefront/validation_errors/general_validation_errors.json +4 -4
- data/lib/workarea/api/version.rb +1 -1
- data/storefront/LICENSE +52 -0
- data/storefront/README.md +4 -7
- data/storefront/workarea-api-storefront.gemspec +6 -5
- data/workarea-api.gemspec +3 -3
- metadata +13 -10
@@ -33,10 +33,10 @@
|
|
33
33
|
"X-Permitted-Cross-Domain-Policies": "none",
|
34
34
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
35
35
|
"Content-Type": "application/json; charset=utf-8",
|
36
|
-
"ETag": "W/\"
|
36
|
+
"ETag": "W/\"1a20b56e75aadb0a852f28449e83abee\"",
|
37
37
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
38
|
-
"X-Request-Id": "
|
39
|
-
"X-Runtime": "0.
|
38
|
+
"X-Request-Id": "c6987ebb-f121-4383-a154-446ec3d926bd",
|
39
|
+
"X-Runtime": "0.004746",
|
40
40
|
"Expires": "0",
|
41
41
|
"Content-Length": "323"
|
42
42
|
},
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"request_content_type": null,
|
47
47
|
"response_status": 200,
|
48
48
|
"response_status_text": "OK",
|
49
|
-
"response_body": "{\n \"redirects\": [\n {\n \"_id\": \"
|
49
|
+
"response_body": "{\n \"redirects\": [\n {\n \"_id\": \"5d5ecb33d4322a04dfbf755a\",\n \"created_at\": \"2019-08-22T17:04:51.146Z\",\n \"destination\": \"/pages/faq\",\n \"path\": \"/1\",\n \"updated_at\": \"2019-08-22T17:04:51.146Z\"\n },\n {\n \"_id\": \"5d5ecb33d4322a04dfbf7559\",\n \"created_at\": \"2019-08-22T17:04:51.143Z\",\n \"destination\": \"/pages/faq\",\n \"path\": \"/0\",\n \"updated_at\": \"2019-08-22T17:04:51.143Z\"\n }\n ]\n}",
|
50
50
|
"response_content_type": "application/json",
|
51
51
|
"curl": "curl -g \"https://www.example.com/api/admin/redirects?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
|
52
52
|
}
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "86701990-8b34-44c9-a12e-15f1d40dcb6d",
|
24
|
+
"X-Runtime": "0.015038",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "DELETE",
|
28
|
-
"request_path": "/api/admin/redirects/
|
28
|
+
"request_path": "/api/admin/redirects/5d5ecb33d4322a04dfbf755e",
|
29
29
|
"request_body": null,
|
30
30
|
"request_content_type": "application/x-www-form-urlencoded",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/redirects/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/redirects/5d5ecb33d4322a04dfbf755e\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Redirects",
|
@@ -19,22 +19,22 @@
|
|
19
19
|
"X-Permitted-Cross-Domain-Policies": "none",
|
20
20
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
21
21
|
"Content-Type": "application/json; charset=utf-8",
|
22
|
-
"ETag": "W/\"
|
22
|
+
"ETag": "W/\"99305af52558e83ca738b3c6d6d43514\"",
|
23
23
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
24
|
-
"X-Request-Id": "
|
25
|
-
"X-Runtime": "0.
|
24
|
+
"X-Request-Id": "7b58a104-6e93-4277-a655-3542667fa15b",
|
25
|
+
"X-Runtime": "0.004246",
|
26
26
|
"Expires": "0",
|
27
27
|
"Content-Length": "168"
|
28
28
|
},
|
29
29
|
"request_method": "GET",
|
30
|
-
"request_path": "/api/admin/redirects/
|
30
|
+
"request_path": "/api/admin/redirects/5d5ecb30d4322a04dfbf753e",
|
31
31
|
"request_body": null,
|
32
32
|
"request_content_type": null,
|
33
33
|
"response_status": 200,
|
34
34
|
"response_status_text": "OK",
|
35
|
-
"response_body": "{\n \"redirect\": {\n \"_id\": \"
|
35
|
+
"response_body": "{\n \"redirect\": {\n \"_id\": \"5d5ecb30d4322a04dfbf753e\",\n \"created_at\": \"2019-08-22T17:04:48.642Z\",\n \"destination\": \"/pages/faq\",\n \"path\": \"/faq\",\n \"updated_at\": \"2019-08-22T17:04:48.642Z\"\n }\n}",
|
36
36
|
"response_content_type": "application/json",
|
37
|
-
"curl": "curl -g \"https://www.example.com/api/admin/redirects/
|
37
|
+
"curl": "curl -g \"https://www.example.com/api/admin/redirects/5d5ecb30d4322a04dfbf753e\" -X GET "
|
38
38
|
}
|
39
39
|
],
|
40
40
|
"resource": "Redirects",
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "57ba5a2f-6ce5-4d05-8371-17a4945f0e92",
|
24
|
+
"X-Runtime": "0.010314",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
|
-
"request_path": "/api/admin/redirects/
|
28
|
+
"request_path": "/api/admin/redirects/5d5ecb31d4322a04dfbf7548",
|
29
29
|
"request_body": "{\"redirect\":{\"path\":\"/foobar\"}}",
|
30
30
|
"request_content_type": "application/json",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/redirects/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/redirects/5d5ecb31d4322a04dfbf7548\" -d '{\"redirect\":{\"path\":\"/foobar\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Redirects",
|
@@ -20,24 +20,24 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "ad3dfb57-bc02-4100-a0d7-ca49c7cf28e9",
|
24
|
+
"X-Runtime": "0.128448",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
|
-
"request_path": "/api/admin/products/
|
29
|
-
"request_body": "{\"product\":{\"name\":\"foo\"},\"release_id\":\"
|
28
|
+
"request_path": "/api/admin/products/ED06E210DF",
|
29
|
+
"request_body": "{\"product\":{\"name\":\"foo\"},\"release_id\":\"5d5ecb34d4322a04dfbf7565\"}",
|
30
30
|
"request_content_type": "application/json",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/products/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/products/ED06E210DF\" -d '{\"product\":{\"name\":\"foo\"},\"release_id\":\"5d5ecb34d4322a04dfbf7565\"}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Release Changes",
|
39
39
|
"description": "Adding changes to a release",
|
40
40
|
"route": "/api/admin/products/:id",
|
41
|
-
"
|
42
|
-
"
|
41
|
+
"http_method": "PATCH",
|
42
|
+
"explanation": "release_id can be sent with any patch request to resources that can be changed through releases"
|
43
43
|
}
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "7ea49613-641d-4fad-9973-2373cf43d2b2",
|
24
|
+
"X-Runtime": "0.096566",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
28
|
"request_path": "/api/admin/releases/bulk",
|
29
|
-
"request_body": "{\"releases\":[{\"created_at\":\"2019-08-
|
29
|
+
"request_body": "{\"releases\":[{\"created_at\":\"2019-08-22T17:01:37.924Z\",\"name\":\"Content Release\",\"publish_at\":null,\"publish_job_id\":null,\"published_at\":null,\"subscribed_user_ids\":[],\"tags\":[],\"undo_at\":null,\"undo_job_id\":null,\"undone_at\":null,\"updated_at\":\"2019-08-22T17:01:37.924Z\"},{\"created_at\":\"2019-08-22T17:01:37.924Z\",\"name\":\"Content Release\",\"publish_at\":null,\"publish_job_id\":null,\"published_at\":null,\"subscribed_user_ids\":[],\"tags\":[],\"undo_at\":null,\"undo_job_id\":null,\"undone_at\":null,\"updated_at\":\"2019-08-22T17:01:37.924Z\"},{\"created_at\":\"2019-08-22T17:01:37.924Z\",\"name\":\"Content Release\",\"publish_at\":null,\"publish_job_id\":null,\"published_at\":null,\"subscribed_user_ids\":[],\"tags\":[],\"undo_at\":null,\"undo_job_id\":null,\"undone_at\":null,\"updated_at\":\"2019-08-22T17:01:37.924Z\"}]}",
|
30
30
|
"request_content_type": "application/json",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/releases/bulk\" -d '{\"releases\":[{\"created_at\":\"2019-08-
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/releases/bulk\" -d '{\"releases\":[{\"created_at\":\"2019-08-22T17:01:37.924Z\",\"name\":\"Content Release\",\"publish_at\":null,\"publish_job_id\":null,\"published_at\":null,\"subscribed_user_ids\":[],\"tags\":[],\"undo_at\":null,\"undo_job_id\":null,\"undone_at\":null,\"updated_at\":\"2019-08-22T17:01:37.924Z\"},{\"created_at\":\"2019-08-22T17:01:37.924Z\",\"name\":\"Content Release\",\"publish_at\":null,\"publish_job_id\":null,\"published_at\":null,\"subscribed_user_ids\":[],\"tags\":[],\"undo_at\":null,\"undo_job_id\":null,\"undone_at\":null,\"updated_at\":\"2019-08-22T17:01:37.924Z\"},{\"created_at\":\"2019-08-22T17:01:37.924Z\",\"name\":\"Content Release\",\"publish_at\":null,\"publish_job_id\":null,\"published_at\":null,\"subscribed_user_ids\":[],\"tags\":[],\"undo_at\":null,\"undo_job_id\":null,\"undone_at\":null,\"updated_at\":\"2019-08-22T17:01:37.924Z\"}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Releases",
|
@@ -19,24 +19,24 @@
|
|
19
19
|
"X-Download-Options": "noopen",
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
|
-
"Location": "/api/admin/releases/
|
22
|
+
"Location": "/api/admin/releases/5d5eca6fd4322a04dfbf6d89",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
|
-
"ETag": "W/\"
|
24
|
+
"ETag": "W/\"77ebb51aa048a01f11b5e7cdfdc8c4b5\"",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "1389c7fa-633e-4e14-9718-8962b970a6d5",
|
27
|
+
"X-Runtime": "0.032924",
|
28
28
|
"Expires": "0",
|
29
29
|
"Content-Length": "297"
|
30
30
|
},
|
31
31
|
"request_method": "POST",
|
32
32
|
"request_path": "/api/admin/releases",
|
33
|
-
"request_body": "{\"created_at\":\"2019-08-
|
33
|
+
"request_body": "{\"created_at\":\"2019-08-22T17:01:35.965Z\",\"name\":\"Content Release\",\"publish_at\":null,\"publish_job_id\":null,\"published_at\":null,\"subscribed_user_ids\":[],\"tags\":[],\"undo_at\":null,\"undo_job_id\":null,\"undone_at\":null,\"updated_at\":\"2019-08-22T17:01:35.965Z\"}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 201,
|
36
36
|
"response_status_text": "Created",
|
37
|
-
"response_body": "{\n \"release\": {\n \"_id\": \"
|
37
|
+
"response_body": "{\n \"release\": {\n \"_id\": \"5d5eca6fd4322a04dfbf6d89\",\n \"created_at\": \"2019-08-22T17:01:35.965Z\",\n \"name\": \"Content Release\",\n \"publish_at\": null,\n \"publish_job_id\": null,\n \"published_at\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"undo_at\": null,\n \"undo_job_id\": null,\n \"undone_at\": null,\n \"updated_at\": \"2019-08-22T17:01:35.965Z\"\n }\n}",
|
38
38
|
"response_content_type": "application/json",
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/releases\" -d '{\"created_at\":\"2019-08-
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/releases\" -d '{\"created_at\":\"2019-08-22T17:01:35.965Z\",\"name\":\"Content Release\",\"publish_at\":null,\"publish_job_id\":null,\"published_at\":null,\"subscribed_user_ids\":[],\"tags\":[],\"undo_at\":null,\"undo_job_id\":null,\"undone_at\":null,\"updated_at\":\"2019-08-22T17:01:35.965Z\"}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Releases",
|
@@ -33,10 +33,10 @@
|
|
33
33
|
"X-Permitted-Cross-Domain-Policies": "none",
|
34
34
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
35
35
|
"Content-Type": "application/json; charset=utf-8",
|
36
|
-
"ETag": "W/\"
|
36
|
+
"ETag": "W/\"a032171ff62d6fd7fcb1e651cddbe31d\"",
|
37
37
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
38
|
-
"X-Request-Id": "
|
39
|
-
"X-Runtime": "0.
|
38
|
+
"X-Request-Id": "d57adca1-433c-482c-893c-b349d2a37ff0",
|
39
|
+
"X-Runtime": "0.007975",
|
40
40
|
"Expires": "0",
|
41
41
|
"Content-Length": "586"
|
42
42
|
},
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"request_content_type": null,
|
47
47
|
"response_status": 200,
|
48
48
|
"response_status_text": "OK",
|
49
|
-
"response_body": "{\n \"releases\": [\n {\n \"_id\": \"
|
49
|
+
"response_body": "{\n \"releases\": [\n {\n \"_id\": \"5d5eca72d4322a04dfbf6da7\",\n \"created_at\": \"2019-08-22T17:01:38.679Z\",\n \"name\": \"Content Release\",\n \"publish_at\": null,\n \"publish_job_id\": null,\n \"published_at\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"undo_at\": null,\n \"undo_job_id\": null,\n \"undone_at\": null,\n \"updated_at\": \"2019-08-22T17:01:38.679Z\"\n },\n {\n \"_id\": \"5d5eca72d4322a04dfbf6da6\",\n \"created_at\": \"2019-08-22T17:01:38.655Z\",\n \"name\": \"Content Release\",\n \"publish_at\": null,\n \"publish_job_id\": null,\n \"published_at\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"undo_at\": null,\n \"undo_job_id\": null,\n \"undone_at\": null,\n \"updated_at\": \"2019-08-22T17:01:38.655Z\"\n }\n ]\n}",
|
50
50
|
"response_content_type": "application/json",
|
51
51
|
"curl": "curl -g \"https://www.example.com/api/admin/releases?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
|
52
52
|
}
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "8fc735be-c059-4811-8499-0fe44db3fd0d",
|
24
|
+
"X-Runtime": "0.017714",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "DELETE",
|
28
|
-
"request_path": "/api/admin/releases/
|
28
|
+
"request_path": "/api/admin/releases/5d5eca71d4322a04dfbf6d92",
|
29
29
|
"request_body": null,
|
30
30
|
"request_content_type": "application/json",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/releases/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/releases/5d5eca71d4322a04dfbf6d92\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Releases",
|
@@ -19,22 +19,22 @@
|
|
19
19
|
"X-Permitted-Cross-Domain-Policies": "none",
|
20
20
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
21
21
|
"Content-Type": "application/json; charset=utf-8",
|
22
|
-
"ETag": "W/\"
|
22
|
+
"ETag": "W/\"02170a34af489fda415882d4da562f27\"",
|
23
23
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
24
|
-
"X-Request-Id": "
|
25
|
-
"X-Runtime": "0.
|
24
|
+
"X-Request-Id": "c865c99f-694f-4d72-95c1-37fb71553719",
|
25
|
+
"X-Runtime": "0.005992",
|
26
26
|
"Expires": "0",
|
27
27
|
"Content-Length": "297"
|
28
28
|
},
|
29
29
|
"request_method": "GET",
|
30
|
-
"request_path": "/api/admin/releases/
|
30
|
+
"request_path": "/api/admin/releases/5d5eca70d4322a04dfbf6d8e",
|
31
31
|
"request_body": null,
|
32
32
|
"request_content_type": null,
|
33
33
|
"response_status": 200,
|
34
34
|
"response_status_text": "OK",
|
35
|
-
"response_body": "{\n \"release\": {\n \"_id\": \"
|
35
|
+
"response_body": "{\n \"release\": {\n \"_id\": \"5d5eca70d4322a04dfbf6d8e\",\n \"created_at\": \"2019-08-22T17:01:36.615Z\",\n \"name\": \"Content Release\",\n \"publish_at\": null,\n \"publish_job_id\": null,\n \"published_at\": null,\n \"subscribed_user_ids\": [\n\n ],\n \"tags\": [\n\n ],\n \"undo_at\": null,\n \"undo_job_id\": null,\n \"undone_at\": null,\n \"updated_at\": \"2019-08-22T17:01:36.615Z\"\n }\n}",
|
36
36
|
"response_content_type": "application/json",
|
37
|
-
"curl": "curl -g \"https://www.example.com/api/admin/releases/
|
37
|
+
"curl": "curl -g \"https://www.example.com/api/admin/releases/5d5eca70d4322a04dfbf6d8e\" -X GET "
|
38
38
|
}
|
39
39
|
],
|
40
40
|
"resource": "Releases",
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "bb1d9f51-8c8b-46b2-a409-2b8795488c75",
|
24
|
+
"X-Runtime": "0.025700",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
|
-
"request_path": "/api/admin/releases/
|
29
|
-
"request_body": "{\"created_at\":\"2019-08-
|
28
|
+
"request_path": "/api/admin/releases/5d5eca73d4322a04dfbf6dab",
|
29
|
+
"request_body": "{\"created_at\":\"2019-08-22T17:01:39.330Z\",\"name\":\"Content Release\",\"publish_at\":null,\"publish_job_id\":null,\"published_at\":null,\"subscribed_user_ids\":[],\"tags\":[],\"undo_at\":null,\"undo_job_id\":null,\"undone_at\":null,\"updated_at\":\"2019-08-22T17:01:39.330Z\"}",
|
30
30
|
"request_content_type": "application/json",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/releases/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/releases/5d5eca73d4322a04dfbf6dab\" -d '{\"created_at\":\"2019-08-22T17:01:39.330Z\",\"name\":\"Content Release\",\"publish_at\":null,\"publish_job_id\":null,\"published_at\":null,\"subscribed_user_ids\":[],\"tags\":[],\"undo_at\":null,\"undo_job_id\":null,\"undone_at\":null,\"updated_at\":\"2019-08-22T17:01:39.330Z\"}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Releases",
|
@@ -19,24 +19,24 @@
|
|
19
19
|
"X-Download-Options": "noopen",
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
|
-
"Location": "/api/admin/users/
|
22
|
+
"Location": "/api/admin/users/5d5eca1fd4322a04dfbf695a/saved_addresses",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
|
-
"ETag": "W/\"
|
24
|
+
"ETag": "W/\"558f0f43f0f8ea5f5210e252565098bf\"",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "1f2370d2-cc17-4082-99d0-6e23c9bd4d0f",
|
27
|
+
"X-Runtime": "0.079453",
|
28
28
|
"Expires": "0",
|
29
29
|
"Content-Length": "397"
|
30
30
|
},
|
31
31
|
"request_method": "POST",
|
32
|
-
"request_path": "/api/admin/users/
|
32
|
+
"request_path": "/api/admin/users/5d5eca1fd4322a04dfbf695a/saved_addresses",
|
33
33
|
"request_body": "{\"saved_address\":{\"first_name\":\"Ben\",\"last_name\":\"Crouse\",\"street\":\"22 S. 3rd St.\",\"city\":\"Philadelphia\",\"region\":\"PA\",\"postal_code\":\"19106\",\"country\":\"US\",\"phone_number\":\"2159251800\"}}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 201,
|
36
36
|
"response_status_text": "Created",
|
37
|
-
"response_body": "{\n \"saved_address\": {\n \"_id\": \"
|
37
|
+
"response_body": "{\n \"saved_address\": {\n \"_id\": \"5d5eca1fd4322a04dfbf695c\",\n \"city\": \"Philadelphia\",\n \"company\": null,\n \"country\": \"US\",\n \"created_at\": \"2019-08-22T17:00:15.551Z\",\n \"first_name\": \"Ben\",\n \"last_billed_at\": null,\n \"last_name\": \"Crouse\",\n \"last_shipped_at\": null,\n \"phone_extension\": null,\n \"phone_number\": \"2159251800\",\n \"postal_code\": \"19106\",\n \"region\": \"PA\",\n \"street\": \"22 S. 3rd St.\",\n \"street_2\": null,\n \"updated_at\": \"2019-08-22T17:00:15.551Z\"\n }\n}",
|
38
38
|
"response_content_type": "application/json",
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/users/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/users/5d5eca1fd4322a04dfbf695a/saved_addresses\" -d '{\"saved_address\":{\"first_name\":\"Ben\",\"last_name\":\"Crouse\",\"street\":\"22 S. 3rd St.\",\"city\":\"Philadelphia\",\"region\":\"PA\",\"postal_code\":\"19106\",\"country\":\"US\",\"phone_number\":\"2159251800\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Saved Addresses",
|
@@ -19,22 +19,22 @@
|
|
19
19
|
"X-Permitted-Cross-Domain-Policies": "none",
|
20
20
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
21
21
|
"Content-Type": "application/json; charset=utf-8",
|
22
|
-
"ETag": "W/\"
|
22
|
+
"ETag": "W/\"3e12fbd2d4f0fcdd68aa7996d4221339\"",
|
23
23
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
24
|
-
"X-Request-Id": "
|
25
|
-
"X-Runtime": "0.
|
24
|
+
"X-Request-Id": "75de4c1e-d8b6-4b31-b20b-16914eb18515",
|
25
|
+
"X-Runtime": "0.007472",
|
26
26
|
"Expires": "0",
|
27
27
|
"Content-Length": "775"
|
28
28
|
},
|
29
29
|
"request_method": "GET",
|
30
|
-
"request_path": "/api/admin/users/
|
30
|
+
"request_path": "/api/admin/users/5d5eca1ed4322a04dfbf6953/saved_addresses",
|
31
31
|
"request_body": null,
|
32
32
|
"request_content_type": null,
|
33
33
|
"response_status": 200,
|
34
34
|
"response_status_text": "OK",
|
35
|
-
"response_body": "{\n \"saved_addresses\": [\n {\n \"_id\": \"
|
35
|
+
"response_body": "{\n \"saved_addresses\": [\n {\n \"_id\": \"5d5eca1ed4322a04dfbf6955\",\n \"city\": \"Philadelphia\",\n \"company\": null,\n \"country\": \"US\",\n \"created_at\": \"2019-08-22T17:00:14.497Z\",\n \"first_name\": \"Ben\",\n \"last_billed_at\": null,\n \"last_name\": \"Crouse\",\n \"last_shipped_at\": null,\n \"phone_extension\": null,\n \"phone_number\": \"2159251800\",\n \"postal_code\": \"19106\",\n \"region\": \"PA\",\n \"street\": \"1 S 3rd St\",\n \"street_2\": null,\n \"updated_at\": \"2019-08-22T17:00:14.497Z\"\n },\n {\n \"_id\": \"5d5eca1ed4322a04dfbf6956\",\n \"city\": \"Philadelphia\",\n \"company\": null,\n \"country\": \"US\",\n \"created_at\": \"2019-08-22T17:00:14.576Z\",\n \"first_name\": \"Ben\",\n \"last_billed_at\": null,\n \"last_name\": \"Crouse\",\n \"last_shipped_at\": null,\n \"phone_extension\": null,\n \"phone_number\": \"2159251800\",\n \"postal_code\": \"19106\",\n \"region\": \"PA\",\n \"street\": \"2 S 3rd St\",\n \"street_2\": null,\n \"updated_at\": \"2019-08-22T17:00:14.576Z\"\n }\n ]\n}",
|
36
36
|
"response_content_type": "application/json",
|
37
|
-
"curl": "curl -g \"https://www.example.com/api/admin/users/
|
37
|
+
"curl": "curl -g \"https://www.example.com/api/admin/users/5d5eca1ed4322a04dfbf6953/saved_addresses\" -X GET "
|
38
38
|
}
|
39
39
|
],
|
40
40
|
"resource": "Saved Addresses",
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "3ec155e9-94a5-4627-bd48-1ed2cfd3cde6",
|
24
|
+
"X-Runtime": "0.007839",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "DELETE",
|
28
|
-
"request_path": "/api/admin/users/
|
28
|
+
"request_path": "/api/admin/users/5d5eca1dd4322a04dfbf694c/saved_addresses/5d5eca1dd4322a04dfbf694e",
|
29
29
|
"request_body": null,
|
30
30
|
"request_content_type": "application/x-www-form-urlencoded",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/users/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/users/5d5eca1dd4322a04dfbf694c/saved_addresses/5d5eca1dd4322a04dfbf694e\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Saved Addresses",
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "9545c0c9-de83-4167-b3b9-6554110efd9f",
|
24
|
+
"X-Runtime": "0.068476",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
|
-
"request_path": "/api/admin/users/
|
28
|
+
"request_path": "/api/admin/users/5d5eca20d4322a04dfbf6961/saved_addresses/5d5eca20d4322a04dfbf6963",
|
29
29
|
"request_body": "{\"saved_address\":{\"street\":\"1 Foobar Lane\"}}",
|
30
30
|
"request_content_type": "application/json",
|
31
31
|
"response_status": 204,
|
32
32
|
"response_status_text": "No Content",
|
33
33
|
"response_body": null,
|
34
34
|
"response_content_type": null,
|
35
|
-
"curl": "curl \"https://www.example.com/api/admin/users/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/users/5d5eca20d4322a04dfbf6961/saved_addresses/5d5eca20d4322a04dfbf6963\" -d '{\"saved_address\":{\"street\":\"1 Foobar Lane\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Saved Addresses",
|
@@ -19,24 +19,24 @@
|
|
19
19
|
"X-Download-Options": "noopen",
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
|
-
"Location": "/api/admin/payment_profiles/
|
22
|
+
"Location": "/api/admin/payment_profiles/5d5ecb28d4322a04dfbf74f0/saved_credit_cards/5d5ecb28d4322a04dfbf74f5",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
|
-
"ETag": "W/\"
|
24
|
+
"ETag": "W/\"a202764f73749f4d3cbbff40a4fea85a\"",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "6330f853-b628-4edb-be6b-71d86f91ff6f",
|
27
|
+
"X-Runtime": "0.017509",
|
28
28
|
"Expires": "0",
|
29
29
|
"Content-Length": "323"
|
30
30
|
},
|
31
31
|
"request_method": "POST",
|
32
|
-
"request_path": "/api/admin/payment_profiles/
|
33
|
-
"request_body": "{\"saved_credit_card\":{\"created_at\":\"2019-08-
|
32
|
+
"request_path": "/api/admin/payment_profiles/5d5ecb28d4322a04dfbf74f0/saved_credit_cards",
|
33
|
+
"request_body": "{\"saved_credit_card\":{\"created_at\":\"2019-08-22T17:04:40.945Z\",\"default\":false,\"display_number\":\"XXXX-XXXX-XXXX-1\",\"first_name\":\"Ben\",\"issuer\":\"Test Card\",\"last_name\":\"Crouse\",\"month\":1,\"profile_id\":\"5d5ecb28d4322a04dfbf74f3\",\"token\":\"1\",\"updated_at\":\"2019-08-22T17:04:40.945Z\",\"year\":2020}}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 201,
|
36
36
|
"response_status_text": "Created",
|
37
|
-
"response_body": "{\n \"saved_credit_card\": {\n \"_id\": \"
|
37
|
+
"response_body": "{\n \"saved_credit_card\": {\n \"_id\": \"5d5ecb28d4322a04dfbf74f5\",\n \"created_at\": \"2019-08-22T17:04:40.945Z\",\n \"default\": false,\n \"display_number\": \"XXXX-XXXX-XXXX-1\",\n \"first_name\": \"Ben\",\n \"issuer\": \"Test Card\",\n \"last_name\": \"Crouse\",\n \"month\": 1,\n \"profile_id\": \"5d5ecb28d4322a04dfbf74f0\",\n \"token\": \"1\",\n \"updated_at\": \"2019-08-22T17:04:40.945Z\",\n \"year\": 2020\n }\n}",
|
38
38
|
"response_content_type": "application/json",
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/payment_profiles/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/payment_profiles/5d5ecb28d4322a04dfbf74f0/saved_credit_cards\" -d '{\"saved_credit_card\":{\"created_at\":\"2019-08-22T17:04:40.945Z\",\"default\":false,\"display_number\":\"XXXX-XXXX-XXXX-1\",\"first_name\":\"Ben\",\"issuer\":\"Test Card\",\"last_name\":\"Crouse\",\"month\":1,\"profile_id\":\"5d5ecb28d4322a04dfbf74f3\",\"token\":\"1\",\"updated_at\":\"2019-08-22T17:04:40.945Z\",\"year\":2020}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Saved Credit Cards",
|
@@ -30,22 +30,22 @@
|
|
30
30
|
"X-Permitted-Cross-Domain-Policies": "none",
|
31
31
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
32
32
|
"Content-Type": "application/json; charset=utf-8",
|
33
|
-
"ETag": "W/\"
|
33
|
+
"ETag": "W/\"def334a1399a4310559b83ccf90e9ef5\"",
|
34
34
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
35
|
-
"X-Request-Id": "
|
36
|
-
"X-Runtime": "0.
|
35
|
+
"X-Request-Id": "9a3eacec-70b1-4418-9cd3-bf5dd3a024fb",
|
36
|
+
"X-Runtime": "0.008088",
|
37
37
|
"Expires": "0",
|
38
38
|
"Content-Length": "628"
|
39
39
|
},
|
40
40
|
"request_method": "GET",
|
41
|
-
"request_path": "/api/admin/payment_profiles/
|
41
|
+
"request_path": "/api/admin/payment_profiles/5d5ecb26d4322a04dfbf74dc/saved_credit_cards",
|
42
42
|
"request_body": null,
|
43
43
|
"request_content_type": null,
|
44
44
|
"response_status": 200,
|
45
45
|
"response_status_text": "OK",
|
46
|
-
"response_body": "{\n \"saved_credit_cards\": [\n {\n \"_id\": \"
|
46
|
+
"response_body": "{\n \"saved_credit_cards\": [\n {\n \"_id\": \"5d5ecb26d4322a04dfbf74e0\",\n \"created_at\": \"2019-08-22T17:04:38.771Z\",\n \"default\": false,\n \"display_number\": \"XXXX-XXXX-XXXX-1\",\n \"first_name\": \"Ben\",\n \"issuer\": \"Test Card\",\n \"last_name\": \"Crouse\",\n \"month\": 1,\n \"profile_id\": \"5d5ecb26d4322a04dfbf74dc\",\n \"token\": \"1\",\n \"updated_at\": \"2019-08-22T17:04:38.771Z\",\n \"year\": 2020\n },\n {\n \"_id\": \"5d5ecb27d4322a04dfbf74e4\",\n \"created_at\": \"2019-08-22T17:04:39.067Z\",\n \"default\": false,\n \"display_number\": \"XXXX-XXXX-XXXX-1\",\n \"first_name\": \"Ben\",\n \"issuer\": \"Test Card\",\n \"last_name\": \"Crouse\",\n \"month\": 1,\n \"profile_id\": \"5d5ecb26d4322a04dfbf74dc\",\n \"token\": \"1\",\n \"updated_at\": \"2019-08-22T17:04:39.067Z\",\n \"year\": 2020\n }\n ]\n}",
|
47
47
|
"response_content_type": "application/json",
|
48
|
-
"curl": "curl -g \"https://www.example.com/api/admin/payment_profiles/
|
48
|
+
"curl": "curl -g \"https://www.example.com/api/admin/payment_profiles/5d5ecb26d4322a04dfbf74dc/saved_credit_cards\" -X GET "
|
49
49
|
}
|
50
50
|
],
|
51
51
|
"resource": "Saved Credit Cards",
|