workarea-api 4.4.6 → 4.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -15
- data/admin/LICENSE +52 -0
- data/admin/README.md +4 -7
- data/admin/workarea-api-admin.gemspec +5 -4
- data/doc/api/admin/categories/bulk_upserting_categories.json +4 -4
- data/doc/api/admin/categories/creating_a_category.json +7 -7
- data/doc/api/admin/categories/listing_categories.json +4 -4
- data/doc/api/admin/categories/removing_a_category.json +4 -4
- data/doc/api/admin/categories/showing_a_category.json +6 -6
- data/doc/api/admin/categories/updating_a_category.json +5 -5
- data/doc/api/admin/category_product_rules/creating_a_category_product_rule.json +7 -7
- data/doc/api/admin/category_product_rules/listing_category_product_rules.json +6 -6
- data/doc/api/admin/category_product_rules/removing_a_category_product_rule.json +4 -4
- data/doc/api/admin/category_product_rules/updating_a_category_product_rule.json +4 -4
- data/doc/api/admin/content/bulk_upserting_content.json +4 -4
- data/doc/api/admin/content/creating_content.json +7 -7
- data/doc/api/admin/content/listing_content.json +4 -4
- data/doc/api/admin/content/showing_content.json +6 -6
- data/doc/api/admin/content/updating_content.json +4 -4
- data/doc/api/admin/content_assets/bulk_upserting_content_assets.json +4 -4
- data/doc/api/admin/content_assets/creating_a_content_asset.json +7 -7
- data/doc/api/admin/content_assets/listing_content_assets.json +5 -5
- data/doc/api/admin/content_assets/removing_a_content_asset.json +4 -4
- data/doc/api/admin/content_assets/showing_a_content_asset.json +6 -6
- data/doc/api/admin/content_assets/updating_a_content_asset.json +5 -5
- data/doc/api/admin/discounts/creating_a_discount.json +7 -7
- data/doc/api/admin/discounts/listing_discounts.json +4 -4
- data/doc/api/admin/discounts/removing_a_discount.json +4 -4
- data/doc/api/admin/discounts/showing_a_discount.json +6 -6
- data/doc/api/admin/discounts/updating_discounts.json +4 -4
- data/doc/api/admin/email_signups/listing_email_signups.json +4 -4
- data/doc/api/admin/email_signups/showing_an_email_signup.json +6 -6
- data/doc/api/admin/fulfillment/listing_fulfillments.json +4 -4
- data/doc/api/admin/fulfillment/marking_items_as_canceled.json +6 -6
- data/doc/api/admin/fulfillment/marking_items_as_shipped.json +6 -6
- data/doc/api/admin/fulfillment/showing_fulfillment.json +4 -4
- data/doc/api/admin/inventory_skus/bulk_upserting_inventory_skus.json +4 -4
- data/doc/api/admin/inventory_skus/creating_an_inventory_sku.json +6 -6
- data/doc/api/admin/inventory_skus/listing_inventory_skus.json +4 -4
- data/doc/api/admin/inventory_skus/removing_an_inventory_sku.json +2 -2
- data/doc/api/admin/inventory_skus/showing_an_inventory_sku.json +4 -4
- data/doc/api/admin/inventory_skus/updating_an_inventory_sku.json +2 -2
- data/doc/api/admin/navigation_menus/creating_a_menu.json +7 -7
- data/doc/api/admin/navigation_menus/listing_menus.json +4 -4
- data/doc/api/admin/navigation_menus/removing_a_navigation_menu.json +4 -4
- data/doc/api/admin/navigation_menus/showing_a_navigation_menu.json +6 -6
- data/doc/api/admin/navigation_menus/updating_a_navigation_menus.json +4 -4
- data/doc/api/admin/navigation_taxonomy/bulk_upserting_navigation_taxons.json +4 -4
- data/doc/api/admin/navigation_taxonomy/creating_a_taxon.json +7 -7
- data/doc/api/admin/navigation_taxonomy/listing_taxons.json +4 -4
- data/doc/api/admin/navigation_taxonomy/removing_a_navigation_taxon.json +4 -4
- data/doc/api/admin/navigation_taxonomy/showing_a_navigation_taxon.json +6 -6
- data/doc/api/admin/navigation_taxonomy/updating_a_navigation_taxons.json +4 -4
- data/doc/api/admin/orders/listing_orders.json +4 -4
- data/doc/api/admin/orders/showing_an_order.json +4 -4
- data/doc/api/admin/orders/viewing_orders_by_date_range.json +8 -8
- data/doc/api/admin/pages/bulk_upserting_pages.json +4 -4
- data/doc/api/admin/pages/creating_a_page.json +7 -7
- data/doc/api/admin/pages/listing_pages.json +4 -4
- data/doc/api/admin/pages/removing_a_page.json +4 -4
- data/doc/api/admin/pages/showing_a_page.json +6 -6
- data/doc/api/admin/pages/updating_a_page.json +5 -5
- data/doc/api/admin/payment_profiles/bulk_upserting_payment_profiles.json +4 -4
- data/doc/api/admin/payment_profiles/creating_a_payment_profile.json +7 -7
- data/doc/api/admin/payment_profiles/listing_payment_profiles.json +4 -4
- data/doc/api/admin/payment_profiles/removing_a_payment_profile.json +4 -4
- data/doc/api/admin/payment_profiles/showing_a_payment_profile.json +6 -6
- data/doc/api/admin/payment_profiles/updating_a_payment_profiles.json +4 -4
- data/doc/api/admin/payment_transactions/listing_payment_transactions.json +4 -4
- data/doc/api/admin/payment_transactions/showing_a_payment_transaction.json +6 -6
- data/doc/api/admin/payments/listing_payments.json +4 -4
- data/doc/api/admin/payments/showing_an_payment.json +4 -4
- data/doc/api/admin/prices/creating_a_pricing_sku_price.json +4 -4
- data/doc/api/admin/prices/listing_pricing_sku_prices.json +4 -4
- data/doc/api/admin/prices/removing_a_pricing_sku_price.json +4 -4
- data/doc/api/admin/prices/updating_a_pricing_sku_price.json +4 -4
- data/doc/api/admin/pricing_skus/bulk_upserting_pricing_skus.json +4 -4
- data/doc/api/admin/pricing_skus/creating_an_pricing_sku.json +6 -6
- data/doc/api/admin/pricing_skus/listing_pricing_skus.json +4 -4
- data/doc/api/admin/pricing_skus/removing_an_pricing_sku.json +2 -2
- data/doc/api/admin/pricing_skus/showing_an_pricing_sku.json +4 -4
- data/doc/api/admin/pricing_skus/updating_an_pricing_sku.json +2 -2
- data/doc/api/admin/product_images/creating_a_product_image_from_base64.json +7 -7
- data/doc/api/admin/product_images/creating_a_product_image_from_url.json +7 -7
- data/doc/api/admin/product_images/listing_product_images.json +6 -6
- data/doc/api/admin/product_images/removing_a_product_image.json +4 -4
- data/doc/api/admin/product_images/updating_a_product_image.json +4 -4
- data/doc/api/admin/products/bulk_upserting_products.json +4 -4
- data/doc/api/admin/products/creating_a_product.json +7 -7
- data/doc/api/admin/products/listing_products.json +4 -4
- data/doc/api/admin/products/removing_a_product.json +4 -4
- data/doc/api/admin/products/showing_a_product.json +6 -6
- data/doc/api/admin/products/updating_a_product.json +5 -5
- data/doc/api/admin/promo_code_lists/bulk_upserting_promo_code_lists.json +4 -4
- data/doc/api/admin/promo_code_lists/creating_a_promo_code_list.json +7 -7
- data/doc/api/admin/promo_code_lists/listing_promo_code_lists.json +4 -4
- data/doc/api/admin/promo_code_lists/removing_a_promo_code_list.json +4 -4
- data/doc/api/admin/promo_code_lists/showing_a_promo_code_list.json +6 -6
- data/doc/api/admin/promo_code_lists/updating_a_promo_code_list.json +4 -4
- data/doc/api/admin/recommendation_settings/showing_recommendation_settings.json +6 -6
- data/doc/api/admin/recommendation_settings/updating_recommendation_settings.json +4 -4
- data/doc/api/admin/redirects/bulk_upserting_redirects.json +4 -4
- data/doc/api/admin/redirects/creating_a_redirect.json +7 -7
- data/doc/api/admin/redirects/listing_redirects.json +4 -4
- data/doc/api/admin/redirects/removing_a_redirect.json +4 -4
- data/doc/api/admin/redirects/showing_a_redirect.json +6 -6
- data/doc/api/admin/redirects/updating_a_redirects.json +4 -4
- data/doc/api/admin/release_changes/adding_changes_to_a_release.json +7 -7
- data/doc/api/admin/releases/bulk_upserting_releases.json +4 -4
- data/doc/api/admin/releases/creating_a_release.json +7 -7
- data/doc/api/admin/releases/listing_releases.json +4 -4
- data/doc/api/admin/releases/removing_a_release.json +4 -4
- data/doc/api/admin/releases/showing_a_release.json +6 -6
- data/doc/api/admin/releases/updating_a_release.json +5 -5
- data/doc/api/admin/saved_addresses/creating_a_saved_address.json +7 -7
- data/doc/api/admin/saved_addresses/listing_saved_address.json +6 -6
- data/doc/api/admin/saved_addresses/removing_a_saved_address.json +4 -4
- data/doc/api/admin/saved_addresses/updating_a_saved_address.json +4 -4
- data/doc/api/admin/saved_credit_cards/creating_a_saved_credit_card.json +8 -8
- data/doc/api/admin/saved_credit_cards/listing_saved_credit_cards.json +6 -6
- data/doc/api/admin/saved_credit_cards/removing_a_saved_credit_card.json +4 -4
- data/doc/api/admin/saved_credit_cards/updating_a_saved_credit_card.json +4 -4
- data/doc/api/admin/shipping/listing_shipments.json +4 -4
- data/doc/api/admin/shipping/showing_a_shipment.json +6 -6
- data/doc/api/admin/shipping_rates/creating_a_shipping_rate.json +7 -7
- data/doc/api/admin/shipping_rates/listing_shipping_rates.json +6 -6
- data/doc/api/admin/shipping_rates/removing_a_shipping_rate.json +4 -4
- data/doc/api/admin/shipping_rates/updating_a_shipping_rate.json +4 -4
- data/doc/api/admin/shipping_services/bulk_upserting_shipping_services.json +4 -4
- data/doc/api/admin/shipping_services/creating_a_shipping_service.json +7 -7
- data/doc/api/admin/shipping_services/listing_shipping_services.json +4 -4
- data/doc/api/admin/shipping_services/removing_a_shipping_service.json +4 -4
- data/doc/api/admin/shipping_services/showing_a_shipping_service.json +6 -6
- data/doc/api/admin/shipping_services/updating_a_shipping_service.json +5 -5
- data/doc/api/admin/tax_categories/bulk_upserting_tax_categories.json +4 -4
- data/doc/api/admin/tax_categories/creating_a_tax_category.json +7 -7
- data/doc/api/admin/tax_categories/listing_tax_categories.json +4 -4
- data/doc/api/admin/tax_categories/removing_a_tax_category.json +4 -4
- data/doc/api/admin/tax_categories/showing_a_tax_category.json +6 -6
- data/doc/api/admin/tax_categories/updating_a_tax_categories.json +4 -4
- data/doc/api/admin/tax_rates/creating_a_tax_rate.json +8 -8
- data/doc/api/admin/tax_rates/listing_tax_rates.json +6 -6
- data/doc/api/admin/tax_rates/removing_a_tax_rate.json +4 -4
- data/doc/api/admin/tax_rates/updating_a_tax_rate.json +4 -4
- data/doc/api/admin/users/bulk_upserting_users.json +4 -4
- data/doc/api/admin/users/creating_a_user.json +7 -7
- data/doc/api/admin/users/listing_users.json +4 -4
- data/doc/api/admin/users/removing_a_user.json +4 -4
- data/doc/api/admin/users/showing_a_user.json +6 -6
- data/doc/api/admin/users/updating_a_user.json +5 -5
- data/doc/api/admin/variants/creating_a_product_variant.json +6 -6
- data/doc/api/admin/variants/listing_product_variants.json +6 -6
- data/doc/api/admin/variants/removing_a_product_variant.json +4 -4
- data/doc/api/admin/variants/updating_a_product_variant.json +4 -4
- data/doc/api/storefront/accounts/creating_an_account.json +6 -6
- data/doc/api/storefront/accounts/getting_account_details.json +6 -6
- data/doc/api/storefront/accounts/updating_an_account.json +6 -6
- data/doc/api/storefront/analytics/saving_a_category_view.json +4 -4
- data/doc/api/storefront/analytics/saving_a_product_view.json +4 -4
- data/doc/api/storefront/analytics/saving_a_search.json +4 -4
- data/doc/api/storefront/assets/showing_an_asset.json +8 -8
- data/doc/api/storefront/authentication/creating_an_authentication_token.json +8 -8
- data/doc/api/storefront/authentication/refreshing_an_authentication_token.json +8 -8
- data/doc/api/storefront/authentication/using_an_authentication_token.json +9 -9
- data/doc/api/storefront/cart/adding_a_promo_code.json +9 -9
- data/doc/api/storefront/cart/adding_an_item.json +9 -9
- data/doc/api/storefront/cart/creating_a_new_cart_for_a_user.json +8 -8
- data/doc/api/storefront/cart/creating_a_new_guest_cart.json +6 -6
- data/doc/api/storefront/cart/delete_an_item.json +9 -9
- data/doc/api/storefront/cart/listing_user_s_carts.json +8 -8
- data/doc/api/storefront/cart/showing_cart.json +9 -9
- data/doc/api/storefront/cart/updating_an_item.json +9 -9
- data/doc/api/storefront/categories/showing_a_category.json +7 -7
- data/doc/api/storefront/categories/showing_a_listing_of_categories.json +7 -7
- data/doc/api/storefront/checkout/completing_a_checkout.json +8 -8
- data/doc/api/storefront/checkout/showing_a_checkout.json +8 -8
- data/doc/api/storefront/checkout/updating_a_checkout.json +8 -8
- data/doc/api/storefront/contacts/creating_a_contact.json +6 -6
- data/doc/api/storefront/email_signups/creating_an_email_signup.json +6 -6
- data/doc/api/storefront/email_signups/showing_an_email_signup_content.json +6 -6
- data/doc/api/storefront/menus/listing_menus.json +7 -7
- data/doc/api/storefront/menus/showing_a_menu.json +9 -9
- data/doc/api/storefront/orders/listing_the_user_s_orders.json +8 -8
- data/doc/api/storefront/orders/showing_an_order.json +9 -9
- data/doc/api/storefront/pages/showing_a_page.json +7 -7
- data/doc/api/storefront/password_resets/sending_a_forgot_password_email.json +6 -6
- data/doc/api/storefront/personalized_recommendations/showing_recommendations_with_a_session_id.json +10 -10
- data/doc/api/storefront/personalized_recommendations/showing_recommendations_with_authentication.json +8 -8
- data/doc/api/storefront/products/showing_a_product.json +7 -7
- data/doc/api/storefront/products/showing_a_product_with_a_specific_sku_selected.json +7 -7
- data/doc/api/storefront/recent_views/showing_recent_views_from_authentication.json +7 -7
- data/doc/api/storefront/recent_views/showing_recent_views_with_a_session_id.json +10 -10
- data/doc/api/storefront/recent_views/updating_recent_views_with_a_session_id.json +4 -4
- data/doc/api/storefront/recent_views/updating_recent_views_with_authentication.json +6 -6
- data/doc/api/storefront/saved_addresses/creating_a_saved_address.json +6 -6
- data/doc/api/storefront/saved_addresses/deleting_a_saved_address.json +5 -5
- data/doc/api/storefront/saved_addresses/listing_the_user_s_saved_addresses.json +8 -8
- data/doc/api/storefront/saved_addresses/showing_a_saved_address.json +7 -7
- data/doc/api/storefront/saved_addresses/updating_a_saved_address.json +7 -7
- data/doc/api/storefront/saved_credit_cards/creating_a_saved_credit_card.json +6 -6
- data/doc/api/storefront/saved_credit_cards/deleting_a_saved_credit_card.json +5 -5
- data/doc/api/storefront/saved_credit_cards/listing_the_user_s_saved_credit_cards.json +8 -8
- data/doc/api/storefront/saved_credit_cards/showing_a_saved_credit_card.json +7 -7
- data/doc/api/storefront/saved_credit_cards/updating_a_saved_credit_card.json +7 -7
- data/doc/api/storefront/searches/showing_search_autocomplete_suggestions.json +7 -7
- data/doc/api/storefront/searches/showing_search_results.json +7 -7
- data/doc/api/storefront/system_content/showing_system_content.json +7 -7
- data/doc/api/storefront/system_content/showing_the_home_page.json +7 -7
- data/doc/api/storefront/taxons/showing_a_taxon.json +9 -9
- data/doc/api/storefront/validation_errors/checkout_validation_errors.json +8 -8
- data/doc/api/storefront/validation_errors/general_validation_errors.json +4 -4
- data/lib/workarea/api/version.rb +1 -1
- data/storefront/LICENSE +52 -0
- data/storefront/README.md +4 -7
- data/storefront/workarea-api-storefront.gemspec +6 -5
- data/workarea-api.gemspec +3 -3
- metadata +13 -10
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "f75e0d92-6c60-48a5-aac7-73add46b024b",
|
24
|
+
"X-Runtime": "0.008322",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "DELETE",
|
28
|
-
"request_path": "/api/admin/payment_profiles/
|
28
|
+
"request_path": "/api/admin/payment_profiles/5d5ecb25d4322a04dfbf74d3/saved_credit_cards/5d5ecb25d4322a04dfbf74d7",
|
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/payment_profiles/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/payment_profiles/5d5ecb25d4322a04dfbf74d3/saved_credit_cards/5d5ecb25d4322a04dfbf74d7\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Saved Credit Cards",
|
@@ -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": "11dd3eef-5341-4cd8-8148-ea9d45e214ba",
|
24
|
+
"X-Runtime": "0.012037",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
|
-
"request_path": "/api/admin/payment_profiles/
|
28
|
+
"request_path": "/api/admin/payment_profiles/5d5ecb27d4322a04dfbf74e8/saved_credit_cards/5d5ecb28d4322a04dfbf74ec",
|
29
29
|
"request_body": "{\"saved_credit_card\":{\"first_name\":\"Ben\"}}",
|
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/payment_profiles/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/payment_profiles/5d5ecb27d4322a04dfbf74e8/saved_credit_cards/5d5ecb28d4322a04dfbf74ec\" -d '{\"saved_credit_card\":{\"first_name\":\"Ben\"}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Saved Credit Cards",
|
@@ -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/\"dc989e14e0d79d760433d0402f5e7c39\"",
|
37
37
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
38
|
-
"X-Request-Id": "
|
39
|
-
"X-Runtime": "0.
|
38
|
+
"X-Request-Id": "7e005bf0-4e6a-4574-af70-e8a4005f3b39",
|
39
|
+
"X-Runtime": "0.005071",
|
40
40
|
"Expires": "0",
|
41
41
|
"Content-Length": "587"
|
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 \"shippings\": [\n {\n \"_id\": \"
|
49
|
+
"response_body": "{\n \"shippings\": [\n {\n \"_id\": \"5d5ecba4d4322a04dfbf7bf7\",\n \"created_at\": \"2019-08-22T17:06:44.407Z\",\n \"discount_ids\": [\n\n ],\n \"instructions\": null,\n \"order_id\": \"1234\",\n \"quantities\": {\n },\n \"shipping_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"tax_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2019-08-22T17:06:44.407Z\"\n },\n {\n \"_id\": \"5d5ecba4d4322a04dfbf7bf6\",\n \"created_at\": \"2019-08-22T17:06:44.404Z\",\n \"discount_ids\": [\n\n ],\n \"instructions\": null,\n \"order_id\": \"1234\",\n \"quantities\": {\n },\n \"shipping_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"tax_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2019-08-22T17:06:44.404Z\"\n }\n ]\n}",
|
50
50
|
"response_content_type": "application/json",
|
51
51
|
"curl": "curl -g \"https://www.example.com/api/admin/shippings?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
|
52
52
|
}
|
@@ -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/\"f176715f10c218476b460b407dfa3ea7\"",
|
23
23
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
24
|
-
"X-Request-Id": "
|
25
|
-
"X-Runtime": "0.
|
24
|
+
"X-Request-Id": "11777f9b-b630-4df3-82e2-748c8c923daf",
|
25
|
+
"X-Runtime": "0.005334",
|
26
26
|
"Expires": "0",
|
27
27
|
"Content-Length": "298"
|
28
28
|
},
|
29
29
|
"request_method": "GET",
|
30
|
-
"request_path": "/api/admin/shippings/
|
30
|
+
"request_path": "/api/admin/shippings/5d5ecba5d4322a04dfbf7bfb",
|
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 \"shipping\": {\n \"_id\": \"
|
35
|
+
"response_body": "{\n \"shipping\": {\n \"_id\": \"5d5ecba5d4322a04dfbf7bfb\",\n \"created_at\": \"2019-08-22T17:06:45.010Z\",\n \"discount_ids\": [\n\n ],\n \"instructions\": null,\n \"order_id\": \"1234\",\n \"quantities\": {\n },\n \"shipping_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"tax_total\": {\n \"cents\": 0.0,\n \"currency_iso\": \"USD\"\n },\n \"updated_at\": \"2019-08-22T17:06:45.010Z\"\n }\n}",
|
36
36
|
"response_content_type": "application/json",
|
37
|
-
"curl": "curl -g \"https://www.example.com/api/admin/shippings/
|
37
|
+
"curl": "curl -g \"https://www.example.com/api/admin/shippings/5d5ecba5d4322a04dfbf7bfb\" -X GET "
|
38
38
|
}
|
39
39
|
],
|
40
40
|
"resource": "Shipping",
|
@@ -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/shipping_services/
|
22
|
+
"Location": "/api/admin/shipping_services/5d5eca93d4322a04dfbf6f4a/rates",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
|
-
"ETag": "W/\"
|
24
|
+
"ETag": "W/\"ad94abb608e2a87df8d643b0c10db8ad\"",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "8234dcb7-f2f7-4ecc-bde1-9f1e2e20bad1",
|
27
|
+
"X-Runtime": "0.017622",
|
28
28
|
"Expires": "0",
|
29
29
|
"Content-Length": "200"
|
30
30
|
},
|
31
31
|
"request_method": "POST",
|
32
|
-
"request_path": "/api/admin/shipping_services/
|
32
|
+
"request_path": "/api/admin/shipping_services/5d5eca93d4322a04dfbf6f4a/rates",
|
33
33
|
"request_body": "{\"rate\":{\"created_at\":null,\"price\":{\"cents\":100.0,\"currency_iso\":\"USD\"},\"tier_max\":null,\"tier_min\":null,\"updated_at\":null}}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 201,
|
36
36
|
"response_status_text": "Created",
|
37
|
-
"response_body": "{\n \"rate\": {\n \"_id\": \"
|
37
|
+
"response_body": "{\n \"rate\": {\n \"_id\": \"5d5eca93d4322a04dfbf6f4c\",\n \"created_at\": \"2019-08-22T17:02:11.629Z\",\n \"price\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"tier_max\": null,\n \"tier_min\": null,\n \"updated_at\": \"2019-08-22T17:02:11.629Z\"\n }\n}",
|
38
38
|
"response_content_type": "application/json",
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/shipping_services/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/shipping_services/5d5eca93d4322a04dfbf6f4a/rates\" -d '{\"rate\":{\"created_at\":null,\"price\":{\"cents\":100.0,\"currency_iso\":\"USD\"},\"tier_max\":null,\"tier_min\":null,\"updated_at\":null}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Shipping Rates",
|
@@ -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/\"06e6ebc2f5b68b8507b5cd49433a42e5\"",
|
23
23
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
24
|
-
"X-Request-Id": "
|
25
|
-
"X-Runtime": "0.
|
24
|
+
"X-Request-Id": "f23f8785-88e0-47a1-8020-b6aecec35269",
|
25
|
+
"X-Runtime": "0.007277",
|
26
26
|
"Expires": "0",
|
27
27
|
"Content-Length": "543"
|
28
28
|
},
|
29
29
|
"request_method": "GET",
|
30
|
-
"request_path": "/api/admin/shipping_services/
|
30
|
+
"request_path": "/api/admin/shipping_services/5d5eca94d4322a04dfbf6f58/rates",
|
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 \"rates\": [\n {\n \"_id\": \"
|
35
|
+
"response_body": "{\n \"rates\": [\n {\n \"_id\": \"5d5eca94d4322a04dfbf6f59\",\n \"created_at\": null,\n \"price\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"tier_max\": null,\n \"tier_min\": null,\n \"updated_at\": null\n },\n {\n \"_id\": \"5d5eca94d4322a04dfbf6f5a\",\n \"created_at\": \"2019-08-22T17:02:12.876Z\",\n \"price\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"tier_max\": null,\n \"tier_min\": null,\n \"updated_at\": \"2019-08-22T17:02:12.876Z\"\n },\n {\n \"_id\": \"5d5eca94d4322a04dfbf6f5b\",\n \"created_at\": \"2019-08-22T17:02:12.879Z\",\n \"price\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"tier_max\": null,\n \"tier_min\": null,\n \"updated_at\": \"2019-08-22T17:02:12.879Z\"\n }\n ]\n}",
|
36
36
|
"response_content_type": "application/json",
|
37
|
-
"curl": "curl -g \"https://www.example.com/api/admin/shipping_services/
|
37
|
+
"curl": "curl -g \"https://www.example.com/api/admin/shipping_services/5d5eca94d4322a04dfbf6f58/rates\" -X GET "
|
38
38
|
}
|
39
39
|
],
|
40
40
|
"resource": "Shipping Rates",
|
@@ -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": "1785dd41-a7e4-440c-91f0-7a4b9d96e612",
|
24
|
+
"X-Runtime": "0.007890",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "DELETE",
|
28
|
-
"request_path": "/api/admin/shipping_services/
|
28
|
+
"request_path": "/api/admin/shipping_services/5d5eca94d4322a04dfbf6f51/rates/5d5eca94d4322a04dfbf6f53",
|
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/shipping_services/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/shipping_services/5d5eca94d4322a04dfbf6f51/rates/5d5eca94d4322a04dfbf6f53\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Shipping Rates",
|
@@ -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": "5c57298e-8928-4e46-873a-847555ed460c",
|
24
|
+
"X-Runtime": "0.011899",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
|
-
"request_path": "/api/admin/shipping_services/
|
28
|
+
"request_path": "/api/admin/shipping_services/5d5eca95d4322a04dfbf6f5f/rates/5d5eca95d4322a04dfbf6f61",
|
29
29
|
"request_body": "{\"rate\":{\"price\":34}}",
|
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/shipping_services/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/shipping_services/5d5eca95d4322a04dfbf6f5f/rates/5d5eca95d4322a04dfbf6f61\" -d '{\"rate\":{\"price\":34}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Shipping Rates",
|
@@ -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": "a714b248-12ff-496b-abb2-99f5f5d97784",
|
24
|
+
"X-Runtime": "0.049128",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
28
|
"request_path": "/api/admin/shipping_services/bulk",
|
29
|
-
"request_body": "{\"shipping_services\":[{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-
|
29
|
+
"request_body": "{\"shipping_services\":[{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-22T17:01:13.641Z\",\"name\":\"Test 34\",\"rates\":[{\"_id\":\"5d5eca59d4322a04dfbf6c4a\",\"created_at\":null,\"price\":{\"cents\":100.0,\"currency_iso\":\"USD\"},\"tier_max\":null,\"tier_min\":null,\"updated_at\":null}],\"regions\":[],\"service_code\":null,\"subtotal_max\":null,\"subtotal_min\":null,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:01:13.641Z\"},{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-22T17:01:13.641Z\",\"name\":\"Test 34\",\"rates\":[{\"_id\":\"5d5eca59d4322a04dfbf6c4a\",\"created_at\":null,\"price\":{\"cents\":100.0,\"currency_iso\":\"USD\"},\"tier_max\":null,\"tier_min\":null,\"updated_at\":null}],\"regions\":[],\"service_code\":null,\"subtotal_max\":null,\"subtotal_min\":null,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:01:13.641Z\"},{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-22T17:01:13.641Z\",\"name\":\"Test 34\",\"rates\":[{\"_id\":\"5d5eca59d4322a04dfbf6c4a\",\"created_at\":null,\"price\":{\"cents\":100.0,\"currency_iso\":\"USD\"},\"tier_max\":null,\"tier_min\":null,\"updated_at\":null}],\"regions\":[],\"service_code\":null,\"subtotal_max\":null,\"subtotal_min\":null,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:01:13.641Z\"}]}",
|
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/shipping_services/bulk\" -d '{\"shipping_services\":[{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/shipping_services/bulk\" -d '{\"shipping_services\":[{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-22T17:01:13.641Z\",\"name\":\"Test 34\",\"rates\":[{\"_id\":\"5d5eca59d4322a04dfbf6c4a\",\"created_at\":null,\"price\":{\"cents\":100.0,\"currency_iso\":\"USD\"},\"tier_max\":null,\"tier_min\":null,\"updated_at\":null}],\"regions\":[],\"service_code\":null,\"subtotal_max\":null,\"subtotal_min\":null,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:01:13.641Z\"},{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-22T17:01:13.641Z\",\"name\":\"Test 34\",\"rates\":[{\"_id\":\"5d5eca59d4322a04dfbf6c4a\",\"created_at\":null,\"price\":{\"cents\":100.0,\"currency_iso\":\"USD\"},\"tier_max\":null,\"tier_min\":null,\"updated_at\":null}],\"regions\":[],\"service_code\":null,\"subtotal_max\":null,\"subtotal_min\":null,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:01:13.641Z\"},{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-22T17:01:13.641Z\",\"name\":\"Test 34\",\"rates\":[{\"_id\":\"5d5eca59d4322a04dfbf6c4a\",\"created_at\":null,\"price\":{\"cents\":100.0,\"currency_iso\":\"USD\"},\"tier_max\":null,\"tier_min\":null,\"updated_at\":null}],\"regions\":[],\"service_code\":null,\"subtotal_max\":null,\"subtotal_min\":null,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:01:13.641Z\"}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Shipping Services",
|
@@ -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/shipping_services/
|
22
|
+
"Location": "/api/admin/shipping_services/5d5eca5cd4322a04dfbf6c78",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
|
-
"ETag": "W/\"
|
24
|
+
"ETag": "W/\"aa54b7d6d9db756e92c248fce20edd6f\"",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "b056bf27-db72-4cc4-9bc6-ce4363778171",
|
27
|
+
"X-Runtime": "0.012152",
|
28
28
|
"Expires": "0",
|
29
29
|
"Content-Length": "429"
|
30
30
|
},
|
31
31
|
"request_method": "POST",
|
32
32
|
"request_path": "/api/admin/shipping_services",
|
33
|
-
"request_body": "{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-
|
33
|
+
"request_body": "{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-22T17:01:16.171Z\",\"name\":\"Test 39\",\"rates\":[{\"_id\":\"5d5eca5cd4322a04dfbf6c76\",\"created_at\":null,\"price\":{\"cents\":100.0,\"currency_iso\":\"USD\"},\"tier_max\":null,\"tier_min\":null,\"updated_at\":null}],\"regions\":[],\"service_code\":null,\"subtotal_max\":null,\"subtotal_min\":null,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:01:16.171Z\"}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 201,
|
36
36
|
"response_status_text": "Created",
|
37
|
-
"response_body": "{\n \"shipping_service\": {\n \"_id\": \"
|
37
|
+
"response_body": "{\n \"shipping_service\": {\n \"_id\": \"5d5eca5cd4322a04dfbf6c78\",\n \"carrier\": null,\n \"country\": null,\n \"created_at\": \"2019-08-22T17:01:16.171Z\",\n \"name\": \"Test 39\",\n \"rates\": [\n {\n \"_id\": \"5d5eca5cd4322a04dfbf6c76\",\n \"created_at\": null,\n \"price\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"tier_max\": null,\n \"tier_min\": null,\n \"updated_at\": null\n }\n ],\n \"regions\": [\n\n ],\n \"service_code\": null,\n \"subtotal_max\": null,\n \"subtotal_min\": null,\n \"tax_code\": null,\n \"updated_at\": \"2019-08-22T17:01:16.171Z\"\n }\n}",
|
38
38
|
"response_content_type": "application/json",
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/shipping_services\" -d '{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/shipping_services\" -d '{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-22T17:01:16.171Z\",\"name\":\"Test 39\",\"rates\":[{\"_id\":\"5d5eca5cd4322a04dfbf6c76\",\"created_at\":null,\"price\":{\"cents\":100.0,\"currency_iso\":\"USD\"},\"tier_max\":null,\"tier_min\":null,\"updated_at\":null}],\"regions\":[],\"service_code\":null,\"subtotal_max\":null,\"subtotal_min\":null,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:01:16.171Z\"}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Shipping Services",
|
@@ -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/\"27f7d7429d38545939d95f4acb7b6663\"",
|
37
37
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
38
|
-
"X-Request-Id": "
|
39
|
-
"X-Runtime": "0.
|
38
|
+
"X-Request-Id": "05edecad-90fa-406b-8f9c-4a5ca136e0c2",
|
39
|
+
"X-Runtime": "0.022600",
|
40
40
|
"Expires": "0",
|
41
41
|
"Content-Length": "841"
|
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 \"shipping_services\": [\n {\n \"_id\": \"
|
49
|
+
"response_body": "{\n \"shipping_services\": [\n {\n \"_id\": \"5d5eca5cd4322a04dfbf6c7f\",\n \"carrier\": null,\n \"country\": null,\n \"created_at\": \"2019-08-22T17:01:16.777Z\",\n \"name\": \"Test 41\",\n \"rates\": [\n {\n \"_id\": \"5d5eca5cd4322a04dfbf6c80\",\n \"created_at\": null,\n \"price\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"tier_max\": null,\n \"tier_min\": null,\n \"updated_at\": null\n }\n ],\n \"regions\": [\n\n ],\n \"service_code\": null,\n \"subtotal_max\": null,\n \"subtotal_min\": null,\n \"tax_code\": null,\n \"updated_at\": \"2019-08-22T17:01:16.777Z\"\n },\n {\n \"_id\": \"5d5eca5cd4322a04dfbf6c7d\",\n \"carrier\": null,\n \"country\": null,\n \"created_at\": \"2019-08-22T17:01:16.773Z\",\n \"name\": \"Test 40\",\n \"rates\": [\n {\n \"_id\": \"5d5eca5cd4322a04dfbf6c7e\",\n \"created_at\": null,\n \"price\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"tier_max\": null,\n \"tier_min\": null,\n \"updated_at\": null\n }\n ],\n \"regions\": [\n\n ],\n \"service_code\": null,\n \"subtotal_max\": null,\n \"subtotal_min\": null,\n \"tax_code\": null,\n \"updated_at\": \"2019-08-22T17:01:16.773Z\"\n }\n ]\n}",
|
50
50
|
"response_content_type": "application/json",
|
51
51
|
"curl": "curl -g \"https://www.example.com/api/admin/shipping_services?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": "149a4606-85f0-4fbd-a122-416ab6593cb9",
|
24
|
+
"X-Runtime": "0.006759",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "DELETE",
|
28
|
-
"request_path": "/api/admin/shipping_services/
|
28
|
+
"request_path": "/api/admin/shipping_services/5d5eca5ad4322a04dfbf6c61",
|
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/shipping_services/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/shipping_services/5d5eca5ad4322a04dfbf6c61\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Shipping Services",
|
@@ -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/\"a724efc326dfa8f0ed061df08a87e263\"",
|
23
23
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
24
|
-
"X-Request-Id": "
|
25
|
-
"X-Runtime": "0.
|
24
|
+
"X-Request-Id": "9592f289-f119-4535-b311-7a5deb61a43b",
|
25
|
+
"X-Runtime": "0.007490",
|
26
26
|
"Expires": "0",
|
27
27
|
"Content-Length": "429"
|
28
28
|
},
|
29
29
|
"request_method": "GET",
|
30
|
-
"request_path": "/api/admin/shipping_services/
|
30
|
+
"request_path": "/api/admin/shipping_services/5d5eca5ad4322a04dfbf6c67",
|
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 \"shipping_service\": {\n \"_id\": \"
|
35
|
+
"response_body": "{\n \"shipping_service\": {\n \"_id\": \"5d5eca5ad4322a04dfbf6c67\",\n \"carrier\": null,\n \"country\": null,\n \"created_at\": \"2019-08-22T17:01:14.935Z\",\n \"name\": \"Test 36\",\n \"rates\": [\n {\n \"_id\": \"5d5eca5ad4322a04dfbf6c68\",\n \"created_at\": null,\n \"price\": {\n \"cents\": 100.0,\n \"currency_iso\": \"USD\"\n },\n \"tier_max\": null,\n \"tier_min\": null,\n \"updated_at\": null\n }\n ],\n \"regions\": [\n\n ],\n \"service_code\": null,\n \"subtotal_max\": null,\n \"subtotal_min\": null,\n \"tax_code\": null,\n \"updated_at\": \"2019-08-22T17:01:14.935Z\"\n }\n}",
|
36
36
|
"response_content_type": "application/json",
|
37
|
-
"curl": "curl -g \"https://www.example.com/api/admin/shipping_services/
|
37
|
+
"curl": "curl -g \"https://www.example.com/api/admin/shipping_services/5d5eca5ad4322a04dfbf6c67\" -X GET "
|
38
38
|
}
|
39
39
|
],
|
40
40
|
"resource": "Shipping Services",
|
@@ -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": "302e8622-8c07-42df-a36b-878480181a13",
|
24
|
+
"X-Runtime": "0.014508",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
|
-
"request_path": "/api/admin/shipping_services/
|
29
|
-
"request_body": "{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-
|
28
|
+
"request_path": "/api/admin/shipping_services/5d5eca5bd4322a04dfbf6c6c",
|
29
|
+
"request_body": "{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-22T17:01:15.557Z\",\"name\":\"Test 38\",\"rates\":[{\"_id\":\"5d5eca5bd4322a04dfbf6c6f\",\"created_at\":null,\"price\":{\"cents\":100.0,\"currency_iso\":\"USD\"},\"tier_max\":null,\"tier_min\":null,\"updated_at\":null}],\"regions\":[],\"service_code\":null,\"subtotal_max\":null,\"subtotal_min\":null,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:01:15.557Z\"}",
|
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/shipping_services/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/shipping_services/5d5eca5bd4322a04dfbf6c6c\" -d '{\"carrier\":null,\"country\":null,\"created_at\":\"2019-08-22T17:01:15.557Z\",\"name\":\"Test 38\",\"rates\":[{\"_id\":\"5d5eca5bd4322a04dfbf6c6f\",\"created_at\":null,\"price\":{\"cents\":100.0,\"currency_iso\":\"USD\"},\"tier_max\":null,\"tier_min\":null,\"updated_at\":null}],\"regions\":[],\"service_code\":null,\"subtotal_max\":null,\"subtotal_min\":null,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:01:15.557Z\"}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Shipping Services",
|
@@ -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": "42c03876-f14b-4422-952f-312b07c2fd36",
|
24
|
+
"X-Runtime": "0.035628",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
28
|
"request_path": "/api/admin/tax_categories/bulk",
|
29
|
-
"request_body": "{\"tax_categories\":[{\"code\":\"001\",\"created_at\":\"2019-08-
|
29
|
+
"request_body": "{\"tax_categories\":[{\"code\":\"001\",\"created_at\":\"2019-08-22T17:03:06.861Z\",\"name\":\"Clothing\",\"updated_at\":\"2019-08-22T17:03:06.861Z\"},{\"code\":\"001\",\"created_at\":\"2019-08-22T17:03:06.861Z\",\"name\":\"Clothing\",\"updated_at\":\"2019-08-22T17:03:06.861Z\"},{\"code\":\"001\",\"created_at\":\"2019-08-22T17:03:06.861Z\",\"name\":\"Clothing\",\"updated_at\":\"2019-08-22T17:03:06.861Z\"}]}",
|
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/tax_categories/bulk\" -d '{\"tax_categories\":[{\"code\":\"001\",\"created_at\":\"2019-08-
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/tax_categories/bulk\" -d '{\"tax_categories\":[{\"code\":\"001\",\"created_at\":\"2019-08-22T17:03:06.861Z\",\"name\":\"Clothing\",\"updated_at\":\"2019-08-22T17:03:06.861Z\"},{\"code\":\"001\",\"created_at\":\"2019-08-22T17:03:06.861Z\",\"name\":\"Clothing\",\"updated_at\":\"2019-08-22T17:03:06.861Z\"},{\"code\":\"001\",\"created_at\":\"2019-08-22T17:03:06.861Z\",\"name\":\"Clothing\",\"updated_at\":\"2019-08-22T17:03:06.861Z\"}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Tax Categories",
|
@@ -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/tax_categories/
|
22
|
+
"Location": "/api/admin/tax_categories/5d5ecac8d4322a04dfbf70cb",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
|
-
"ETag": "W/\"
|
24
|
+
"ETag": "W/\"d82bcccf30dbf62b042fe7fbdc41975e\"",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "e6036b43-2246-408a-98d3-436d174662cd",
|
27
|
+
"X-Runtime": "0.010979",
|
28
28
|
"Expires": "0",
|
29
29
|
"Content-Length": "162"
|
30
30
|
},
|
31
31
|
"request_method": "POST",
|
32
32
|
"request_path": "/api/admin/tax_categories",
|
33
|
-
"request_body": "{\"tax_category\":{\"code\":\"001\",\"created_at\":\"2019-08-
|
33
|
+
"request_body": "{\"tax_category\":{\"code\":\"001\",\"created_at\":\"2019-08-22T17:03:04.922Z\",\"name\":\"Clothing\",\"updated_at\":\"2019-08-22T17:03:04.922Z\"}}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 201,
|
36
36
|
"response_status_text": "Created",
|
37
|
-
"response_body": "{\n \"tax_category\": {\n \"_id\": \"
|
37
|
+
"response_body": "{\n \"tax_category\": {\n \"_id\": \"5d5ecac8d4322a04dfbf70cb\",\n \"code\": \"001\",\n \"created_at\": \"2019-08-22T17:03:04.922Z\",\n \"name\": \"Clothing\",\n \"updated_at\": \"2019-08-22T17:03:04.922Z\"\n }\n}",
|
38
38
|
"response_content_type": "application/json",
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/tax_categories\" -d '{\"tax_category\":{\"code\":\"001\",\"created_at\":\"2019-08-
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/tax_categories\" -d '{\"tax_category\":{\"code\":\"001\",\"created_at\":\"2019-08-22T17:03:04.922Z\",\"name\":\"Clothing\",\"updated_at\":\"2019-08-22T17:03:04.922Z\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Tax Categories",
|
@@ -30,10 +30,10 @@
|
|
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/\"665d2d10cf72f84d3509976af4a5059e\"",
|
34
34
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
35
|
-
"X-Request-Id": "
|
36
|
-
"X-Runtime": "0.
|
35
|
+
"X-Request-Id": "18445e5e-8352-4ab5-9ba1-fd93b5376e5a",
|
36
|
+
"X-Runtime": "0.006183",
|
37
37
|
"Expires": "0",
|
38
38
|
"Content-Length": "310"
|
39
39
|
},
|
@@ -43,7 +43,7 @@
|
|
43
43
|
"request_content_type": null,
|
44
44
|
"response_status": 200,
|
45
45
|
"response_status_text": "OK",
|
46
|
-
"response_body": "{\n \"tax_categories\": [\n {\n \"_id\": \"
|
46
|
+
"response_body": "{\n \"tax_categories\": [\n {\n \"_id\": \"5d5ecac8d4322a04dfbf70c5\",\n \"code\": \"17\",\n \"created_at\": \"2019-08-22T17:03:04.241Z\",\n \"name\": \"Clothing\",\n \"updated_at\": \"2019-08-22T17:03:04.241Z\"\n },\n {\n \"_id\": \"5d5ecac8d4322a04dfbf70c3\",\n \"code\": \"16\",\n \"created_at\": \"2019-08-22T17:03:04.231Z\",\n \"name\": \"Clothing\",\n \"updated_at\": \"2019-08-22T17:03:04.231Z\"\n }\n ]\n}",
|
47
47
|
"response_content_type": "application/json",
|
48
48
|
"curl": "curl -g \"https://www.example.com/api/admin/tax_categories\" -X GET "
|
49
49
|
}
|