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": "0947661f-3fde-4b44-a670-6f0466b33ae7",
|
24
|
+
"X-Runtime": "0.013186",
|
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/5d5ec9c5d4322a04dfbf62e3",
|
29
29
|
"request_body": "{\"payment_profile\":{\"store_credit\":29}}",
|
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/5d5ec9c5d4322a04dfbf62e3\" -d '{\"payment_profile\":{\"store_credit\":29}}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Payment Profiles",
|
@@ -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/\"93100cf346564d274299df4e9f6fc7ae\"",
|
37
37
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
38
|
-
"X-Request-Id": "
|
39
|
-
"X-Runtime": "0.
|
38
|
+
"X-Request-Id": "c435bb0e-747f-4784-ac17-2cfdd71375d1",
|
39
|
+
"X-Runtime": "0.009517",
|
40
40
|
"Expires": "0",
|
41
41
|
"Content-Length": "1164"
|
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 \"transactions\": [\n {\n \"_id\": \"
|
49
|
+
"response_body": "{\n \"transactions\": [\n {\n \"_id\": \"5d5ecaead4322a04dfbf7284\",\n \"action\": \"authorize\",\n \"amount\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"canceled_at\": null,\n \"cancellation\": null,\n \"created_at\": \"2019-08-22T17:03:38.064Z\",\n \"payment_id\": \"1001\",\n \"reference_id\": null,\n \"response\": {\n \"success\": true,\n \"message\": \"Bogus Gateway: Forced success\",\n \"params\": {\n \"authorized_amount\": \"11.00\"\n },\n \"options\": {\n \"test\": true,\n \"authorization\": \"53433\",\n \"avs_result\": {\n \"code\": null,\n \"message\": null,\n \"street_match\": null,\n \"postal_match\": null\n },\n \"cvv_result\": null\n }\n },\n \"success\": true,\n \"tender_id\": \"5d5ecae8d4322a04dfbf7277\",\n \"updated_at\": \"2019-08-22T17:03:38.064Z\"\n },\n {\n \"_id\": \"5d5ecae6d4322a04dfbf723b\",\n \"action\": \"authorize\",\n \"amount\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"canceled_at\": null,\n \"cancellation\": null,\n \"created_at\": \"2019-08-22T17:03:34.625Z\",\n \"payment_id\": \"1000\",\n \"reference_id\": null,\n \"response\": {\n \"success\": true,\n \"message\": \"Bogus Gateway: Forced success\",\n \"params\": {\n \"authorized_amount\": \"11.00\"\n },\n \"options\": {\n \"test\": true,\n \"authorization\": \"53433\",\n \"avs_result\": {\n \"code\": null,\n \"message\": null,\n \"street_match\": null,\n \"postal_match\": null\n },\n \"cvv_result\": null\n }\n },\n \"success\": true,\n \"tender_id\": \"5d5ecae5d4322a04dfbf722e\",\n \"updated_at\": \"2019-08-22T17:03:34.625Z\"\n }\n ]\n}",
|
50
50
|
"response_content_type": "application/json",
|
51
51
|
"curl": "curl -g \"https://www.example.com/api/admin/payment_transactions?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/\"bf8b54624584565604854e59d8b56f94\"",
|
23
23
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
24
|
-
"X-Request-Id": "
|
25
|
-
"X-Runtime": "0.
|
24
|
+
"X-Request-Id": "f4b636f3-9a38-4081-9955-7088b650adab",
|
25
|
+
"X-Runtime": "0.008070",
|
26
26
|
"Expires": "0",
|
27
27
|
"Content-Length": "588"
|
28
28
|
},
|
29
29
|
"request_method": "GET",
|
30
|
-
"request_path": "/api/admin/payment_transactions/
|
30
|
+
"request_path": "/api/admin/payment_transactions/5d5ecaeed4322a04dfbf72b9",
|
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 \"transaction\": {\n \"_id\": \"
|
35
|
+
"response_body": "{\n \"transaction\": {\n \"_id\": \"5d5ecaeed4322a04dfbf72b9\",\n \"action\": \"authorize\",\n \"amount\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"canceled_at\": null,\n \"cancellation\": null,\n \"created_at\": \"2019-08-22T17:03:42.067Z\",\n \"payment_id\": \"1234\",\n \"reference_id\": null,\n \"response\": {\n \"success\": true,\n \"message\": \"Bogus Gateway: Forced success\",\n \"params\": {\n \"authorized_amount\": \"11.00\"\n },\n \"options\": {\n \"test\": true,\n \"authorization\": \"53433\",\n \"avs_result\": {\n \"code\": null,\n \"message\": null,\n \"street_match\": null,\n \"postal_match\": null\n },\n \"cvv_result\": null\n }\n },\n \"success\": true,\n \"tender_id\": \"5d5ecaecd4322a04dfbf72ac\",\n \"updated_at\": \"2019-08-22T17:03:42.067Z\"\n }\n}",
|
36
36
|
"response_content_type": "application/json",
|
37
|
-
"curl": "curl -g \"https://www.example.com/api/admin/payment_transactions/
|
37
|
+
"curl": "curl -g \"https://www.example.com/api/admin/payment_transactions/5d5ecaeed4322a04dfbf72b9\" -X GET "
|
38
38
|
}
|
39
39
|
],
|
40
40
|
"resource": "Payment transactions",
|
@@ -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/\"403105a41ae2cbc19b87ef49f683cfa0\"",
|
37
37
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
38
|
-
"X-Request-Id": "
|
39
|
-
"X-Runtime": "0.
|
38
|
+
"X-Request-Id": "4fe0a1f5-14dd-4065-9b06-5d4104f08468",
|
39
|
+
"X-Runtime": "0.008314",
|
40
40
|
"Expires": "0",
|
41
41
|
"Content-Length": "1422"
|
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 \"payments\": [\n {\n \"_id\": \"1001\",\n \"address\": {\n \"_id\": \"
|
49
|
+
"response_body": "{\n \"payments\": [\n {\n \"_id\": \"1001\",\n \"address\": {\n \"_id\": \"5d5ecb39d4322a04dfbf75be\",\n \"city\": \"Philadelphia\",\n \"company\": null,\n \"country\": \"US\",\n \"created_at\": null,\n \"first_name\": \"Ben\",\n \"last_name\": \"Crouse\",\n \"phone_extension\": null,\n \"phone_number\": null,\n \"postal_code\": \"19106\",\n \"region\": \"PA\",\n \"street\": \"22 S. 3rd St.\",\n \"street_2\": \"Second Floor\",\n \"updated_at\": null\n },\n \"created_at\": \"2019-08-22T17:04:57.291Z\",\n \"credit_card\": {\n \"_id\": \"5d5ecb3ad4322a04dfbf75d9\",\n \"amount\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"created_at\": null,\n \"display_number\": \"XXXX-XXXX-XXXX-1\",\n \"issuer\": \"Test Card\",\n \"month\": 1,\n \"saved_card_id\": null,\n \"token\": \"1\",\n \"updated_at\": \"2019-08-22T17:04:59.154Z\",\n \"year\": 2020\n },\n \"profile_id\": \"5d5ecb3ad4322a04dfbf75d8\",\n \"updated_at\": \"2019-08-22T17:04:59.163Z\"\n },\n {\n \"_id\": \"1000\",\n \"address\": {\n \"_id\": \"5d5ecb36d4322a04dfbf7581\",\n \"city\": \"Philadelphia\",\n \"company\": null,\n \"country\": \"US\",\n \"created_at\": null,\n \"first_name\": \"Ben\",\n \"last_name\": \"Crouse\",\n \"phone_extension\": null,\n \"phone_number\": null,\n \"postal_code\": \"19106\",\n \"region\": \"PA\",\n \"street\": \"22 S. 3rd St.\",\n \"street_2\": \"Second Floor\",\n \"updated_at\": null\n },\n \"created_at\": \"2019-08-22T17:04:54.025Z\",\n \"credit_card\": {\n \"_id\": \"5d5ecb36d4322a04dfbf7590\",\n \"amount\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"created_at\": null,\n \"display_number\": \"XXXX-XXXX-XXXX-1\",\n \"issuer\": \"Test Card\",\n \"month\": 1,\n \"saved_card_id\": null,\n \"token\": \"1\",\n \"updated_at\": \"2019-08-22T17:04:55.840Z\",\n \"year\": 2020\n },\n \"profile_id\": \"5d5ecb36d4322a04dfbf758f\",\n \"updated_at\": \"2019-08-22T17:04:55.849Z\"\n }\n ]\n}",
|
50
50
|
"response_content_type": "application/json",
|
51
51
|
"curl": "curl -g \"https://www.example.com/api/admin/payments?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
|
52
52
|
}
|
@@ -19,10 +19,10 @@
|
|
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/\"68268e22d325ebe4204fb1b8e6f814f4\"",
|
23
23
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
24
|
-
"X-Request-Id": "
|
25
|
-
"X-Runtime": "0.
|
24
|
+
"X-Request-Id": "02a383a3-9d63-41a4-aa81-df19940cc896",
|
25
|
+
"X-Runtime": "0.008468",
|
26
26
|
"Expires": "0",
|
27
27
|
"Content-Length": "1313"
|
28
28
|
},
|
@@ -32,7 +32,7 @@
|
|
32
32
|
"request_content_type": null,
|
33
33
|
"response_status": 200,
|
34
34
|
"response_status_text": "OK",
|
35
|
-
"response_body": "{\n \"payment\": {\n \"_id\": \"1234\",\n \"address\": {\n \"_id\": \"
|
35
|
+
"response_body": "{\n \"payment\": {\n \"_id\": \"1234\",\n \"address\": {\n \"_id\": \"5d5ecb3dd4322a04dfbf75ff\",\n \"city\": \"Philadelphia\",\n \"company\": null,\n \"country\": \"US\",\n \"created_at\": null,\n \"first_name\": \"Ben\",\n \"last_name\": \"Crouse\",\n \"phone_extension\": null,\n \"phone_number\": null,\n \"postal_code\": \"19106\",\n \"region\": \"PA\",\n \"street\": \"22 S. 3rd St.\",\n \"street_2\": \"Second Floor\",\n \"updated_at\": null\n },\n \"created_at\": \"2019-08-22T17:05:01.229Z\",\n \"credit_card\": {\n \"_id\": \"5d5ecb3dd4322a04dfbf760e\",\n \"amount\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"created_at\": null,\n \"display_number\": \"XXXX-XXXX-XXXX-1\",\n \"issuer\": \"Test Card\",\n \"month\": 1,\n \"saved_card_id\": null,\n \"token\": \"1\",\n \"updated_at\": \"2019-08-22T17:05:03.038Z\",\n \"year\": 2020\n },\n \"profile_id\": \"5d5ecb3dd4322a04dfbf760d\",\n \"updated_at\": \"2019-08-22T17:05:03.045Z\"\n },\n \"payment_transactions\": [\n {\n \"_id\": \"5d5ecb3fd4322a04dfbf761b\",\n \"action\": \"authorize\",\n \"amount\": {\n \"cents\": 1100.0,\n \"currency_iso\": \"USD\"\n },\n \"canceled_at\": null,\n \"cancellation\": null,\n \"created_at\": \"2019-08-22T17:05:03.042Z\",\n \"payment_id\": \"1234\",\n \"reference_id\": null,\n \"response\": {\n \"success\": true,\n \"message\": \"Bogus Gateway: Forced success\",\n \"params\": {\n \"authorized_amount\": \"11.00\"\n },\n \"options\": {\n \"test\": true,\n \"authorization\": \"53433\",\n \"avs_result\": {\n \"code\": null,\n \"message\": null,\n \"street_match\": null,\n \"postal_match\": null\n },\n \"cvv_result\": null\n }\n },\n \"success\": true,\n \"tender_id\": \"5d5ecb3dd4322a04dfbf760e\",\n \"updated_at\": \"2019-08-22T17:05:03.042Z\"\n }\n ]\n}",
|
36
36
|
"response_content_type": "application/json",
|
37
37
|
"curl": "curl -g \"https://www.example.com/api/admin/payments/1234\" -X GET "
|
38
38
|
}
|
@@ -21,10 +21,10 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Location": "/api/admin/pricing_skus/2134/prices",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
|
-
"ETag": "W/\"
|
24
|
+
"ETag": "W/\"42984700c368e98ea6eff1f48e75ae88\"",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "6925b7ba-b96b-4f09-a434-3233d7f9825d",
|
27
|
+
"X-Runtime": "0.036058",
|
28
28
|
"Expires": "0",
|
29
29
|
"Content-Length": "231"
|
30
30
|
},
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 201,
|
36
36
|
"response_status_text": "Created",
|
37
|
-
"response_body": "{\n \"price\": {\n \"_id\": \"
|
37
|
+
"response_body": "{\n \"price\": {\n \"_id\": \"5d5ec9ccd4322a04dfbf6316\",\n \"active\": true,\n \"created_at\": \"2019-08-22T16:58:52.727Z\",\n \"min_quantity\": 1,\n \"on_sale\": false,\n \"regular\": {\n \"cents\": 1500.0,\n \"currency_iso\": \"USD\"\n },\n \"sale\": null,\n \"updated_at\": \"2019-08-22T16:58:52.727Z\"\n }\n}",
|
38
38
|
"response_content_type": "application/json",
|
39
39
|
"curl": "curl \"https://www.example.com/api/admin/pricing_skus/2134/prices\" -d '{\"price\":{\"regular\":15}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
@@ -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/\"b4c4db21baa49db24f3e62456ace97ff\"",
|
37
37
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
38
|
-
"X-Request-Id": "
|
39
|
-
"X-Runtime": "0.
|
38
|
+
"X-Request-Id": "a558d0bc-8f86-41e2-8e2e-923872e01aac",
|
39
|
+
"X-Runtime": "0.007140",
|
40
40
|
"Expires": "0",
|
41
41
|
"Content-Length": "456"
|
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 \"prices\": [\n {\n \"_id\": \"
|
49
|
+
"response_body": "{\n \"prices\": [\n {\n \"_id\": \"5d5ec9cdd4322a04dfbf631b\",\n \"active\": true,\n \"created_at\": \"2019-08-22T16:58:53.423Z\",\n \"min_quantity\": 1,\n \"on_sale\": false,\n \"regular\": {\n \"cents\": 1500.0,\n \"currency_iso\": \"USD\"\n },\n \"sale\": null,\n \"updated_at\": \"2019-08-22T16:58:53.423Z\"\n },\n {\n \"_id\": \"5d5ec9cdd4322a04dfbf631c\",\n \"active\": true,\n \"created_at\": \"2019-08-22T16:58:53.452Z\",\n \"min_quantity\": 1,\n \"on_sale\": false,\n \"regular\": {\n \"cents\": 1500.0,\n \"currency_iso\": \"USD\"\n },\n \"sale\": null,\n \"updated_at\": \"2019-08-22T16:58:53.452Z\"\n }\n ]\n}",
|
50
50
|
"response_content_type": "application/json",
|
51
51
|
"curl": "curl -g \"https://www.example.com/api/admin/pricing_skus/2134/prices?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": "3b327939-8528-4605-b047-04fbd37a8ed6",
|
24
|
+
"X-Runtime": "0.029370",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "DELETE",
|
28
|
-
"request_path": "/api/admin/pricing_skus/2134/prices/
|
28
|
+
"request_path": "/api/admin/pricing_skus/2134/prices/5d5ec9cbd4322a04dfbf6311",
|
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/pricing_skus/2134/prices/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/pricing_skus/2134/prices/5d5ec9cbd4322a04dfbf6311\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Prices",
|
@@ -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": "ef1a4f75-bcbc-4406-b535-463342a9952c",
|
24
|
+
"X-Runtime": "0.031647",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
|
-
"request_path": "/api/admin/pricing_skus/2134/prices/
|
28
|
+
"request_path": "/api/admin/pricing_skus/2134/prices/5d5ec9cbd4322a04dfbf630d",
|
29
29
|
"request_body": "price[regular]=15",
|
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/pricing_skus/2134/prices/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/pricing_skus/2134/prices/5d5ec9cbd4322a04dfbf630d\" -d 'price[regular]=15' -X PATCH \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Prices",
|
@@ -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": "f74ba365-9d8d-462c-82ef-2fd20b1053a1",
|
24
|
+
"X-Runtime": "0.125554",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
28
28
|
"request_path": "/api/admin/pricing_skus/bulk",
|
29
|
-
"request_body": "{\"pricing_skus\":[{\"active\":true,\"created_at\":\"2019-08-
|
29
|
+
"request_body": "{\"pricing_skus\":[{\"active\":true,\"created_at\":\"2019-08-22T17:02:59.002Z\",\"discountable\":true,\"msrp\":null,\"on_sale\":false,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:02:59.002Z\",\"_id\":1},{\"active\":true,\"created_at\":\"2019-08-22T17:02:59.002Z\",\"discountable\":true,\"msrp\":null,\"on_sale\":false,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:02:59.002Z\",\"_id\":1},{\"active\":true,\"created_at\":\"2019-08-22T17:02:59.002Z\",\"discountable\":true,\"msrp\":null,\"on_sale\":false,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:02:59.002Z\",\"_id\":1}]}",
|
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/pricing_skus/bulk\" -d '{\"pricing_skus\":[{\"active\":true,\"created_at\":\"2019-08-
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/pricing_skus/bulk\" -d '{\"pricing_skus\":[{\"active\":true,\"created_at\":\"2019-08-22T17:02:59.002Z\",\"discountable\":true,\"msrp\":null,\"on_sale\":false,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:02:59.002Z\",\"_id\":1},{\"active\":true,\"created_at\":\"2019-08-22T17:02:59.002Z\",\"discountable\":true,\"msrp\":null,\"on_sale\":false,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:02:59.002Z\",\"_id\":1},{\"active\":true,\"created_at\":\"2019-08-22T17:02:59.002Z\",\"discountable\":true,\"msrp\":null,\"on_sale\":false,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:02:59.002Z\",\"_id\":1}]}' -X PATCH \\\n\t-H \"Content-Type: application/json\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Pricing SKUs",
|
@@ -21,22 +21,22 @@
|
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Location": "/api/admin/pricing_skus/SKU2",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
|
-
"ETag": "W/\"
|
24
|
+
"ETag": "W/\"4f479fa96c936b51ff608001c058b0f4\"",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "756e2199-3c67-4652-993a-d1f28c08d266",
|
27
|
+
"X-Runtime": "0.027184",
|
28
28
|
"Expires": "0",
|
29
29
|
"Content-Length": "188"
|
30
30
|
},
|
31
31
|
"request_method": "POST",
|
32
32
|
"request_path": "/api/admin/pricing_skus",
|
33
|
-
"request_body": "{\"pricing_sku\":{\"active\":true,\"created_at\":\"2019-08-
|
33
|
+
"request_body": "{\"pricing_sku\":{\"active\":true,\"created_at\":\"2019-08-22T17:02:56.188Z\",\"discountable\":true,\"msrp\":null,\"on_sale\":false,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:02:56.188Z\",\"_id\":\"SKU2\"}}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 201,
|
36
36
|
"response_status_text": "Created",
|
37
|
-
"response_body": "{\n \"pricing_sku\": {\n \"_id\": \"SKU2\",\n \"active\": true,\n \"created_at\": \"2019-08-
|
37
|
+
"response_body": "{\n \"pricing_sku\": {\n \"_id\": \"SKU2\",\n \"active\": true,\n \"created_at\": \"2019-08-22T17:02:56.188Z\",\n \"discountable\": true,\n \"msrp\": null,\n \"on_sale\": false,\n \"tax_code\": null,\n \"updated_at\": \"2019-08-22T17:02:56.188Z\"\n }\n}",
|
38
38
|
"response_content_type": "application/json",
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/pricing_skus\" -d '{\"pricing_sku\":{\"active\":true,\"created_at\":\"2019-08-
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/pricing_skus\" -d '{\"pricing_sku\":{\"active\":true,\"created_at\":\"2019-08-22T17:02:56.188Z\",\"discountable\":true,\"msrp\":null,\"on_sale\":false,\"tax_code\":null,\"updated_at\":\"2019-08-22T17:02:56.188Z\",\"_id\":\"SKU2\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Pricing SKUs",
|
@@ -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/\"57da2097cd9a0980fc756e7f41990c8b\"",
|
37
37
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
38
|
-
"X-Request-Id": "
|
39
|
-
"X-Runtime": "0.
|
38
|
+
"X-Request-Id": "a344209b-cfac-4d33-bb26-cac73b883a06",
|
39
|
+
"X-Runtime": "0.006604",
|
40
40
|
"Expires": "0",
|
41
41
|
"Content-Length": "364"
|
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 \"pricing_skus\": [\n {\n \"_id\": \"SKU1\",\n \"active\": true,\n \"created_at\": \"2019-08-
|
49
|
+
"response_body": "{\n \"pricing_skus\": [\n {\n \"_id\": \"SKU1\",\n \"active\": true,\n \"created_at\": \"2019-08-22T17:02:58.338Z\",\n \"discountable\": true,\n \"msrp\": null,\n \"on_sale\": false,\n \"tax_code\": null,\n \"updated_at\": \"2019-08-22T17:02:58.338Z\"\n },\n {\n \"_id\": \"SKU0\",\n \"active\": true,\n \"created_at\": \"2019-08-22T17:02:58.306Z\",\n \"discountable\": true,\n \"msrp\": null,\n \"on_sale\": false,\n \"tax_code\": null,\n \"updated_at\": \"2019-08-22T17:02:58.306Z\"\n }\n ]\n}",
|
50
50
|
"response_content_type": "application/json",
|
51
51
|
"curl": "curl -g \"https://www.example.com/api/admin/pricing_skus?page=1&sort_by=created_at&sort_direction=desc\" -X GET "
|
52
52
|
}
|
@@ -20,8 +20,8 @@
|
|
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": "459473d2-5518-4a15-8154-38abb3c62661",
|
24
|
+
"X-Runtime": "0.018556",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "DELETE",
|
@@ -19,10 +19,10 @@
|
|
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/\"cb9b50db4f56364828603a16b2ec8ae7\"",
|
23
23
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
24
|
-
"X-Request-Id": "
|
25
|
-
"X-Runtime": "0.
|
24
|
+
"X-Request-Id": "0aba80be-148d-42e8-8da9-c52812167110",
|
25
|
+
"X-Runtime": "0.005025",
|
26
26
|
"Expires": "0",
|
27
27
|
"Content-Length": "188"
|
28
28
|
},
|
@@ -32,7 +32,7 @@
|
|
32
32
|
"request_content_type": null,
|
33
33
|
"response_status": 200,
|
34
34
|
"response_status_text": "OK",
|
35
|
-
"response_body": "{\n \"pricing_sku\": {\n \"_id\": \"2134\",\n \"active\": true,\n \"created_at\": \"2019-08-
|
35
|
+
"response_body": "{\n \"pricing_sku\": {\n \"_id\": \"2134\",\n \"active\": true,\n \"created_at\": \"2019-08-22T17:02:55.497Z\",\n \"discountable\": true,\n \"msrp\": null,\n \"on_sale\": false,\n \"tax_code\": null,\n \"updated_at\": \"2019-08-22T17:02:55.497Z\"\n }\n}",
|
36
36
|
"response_content_type": "application/json",
|
37
37
|
"curl": "curl -g \"https://www.example.com/api/admin/pricing_skus/2134\" -X GET "
|
38
38
|
}
|
@@ -20,8 +20,8 @@
|
|
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": "4130a523-ef8f-4aa4-94f2-7f921dfbce28",
|
24
|
+
"X-Runtime": "0.028222",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "PATCH",
|
@@ -19,24 +19,24 @@
|
|
19
19
|
"X-Download-Options": "noopen",
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
|
-
"Location": "/api/admin/products/
|
22
|
+
"Location": "/api/admin/products/DADC121BB9/images",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
|
-
"ETag": "W/\"
|
24
|
+
"ETag": "W/\"bf593b9d160dc6d6626c5f606cfaee5d\"",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "114fa758-02d8-4468-bfb6-e8f490510f8d",
|
27
|
+
"X-Runtime": "0.193683",
|
28
28
|
"Expires": "0",
|
29
29
|
"Content-Length": "372"
|
30
30
|
},
|
31
31
|
"request_method": "POST",
|
32
|
-
"request_path": "/api/admin/products/
|
32
|
+
"request_path": "/api/admin/products/DADC121BB9/images",
|
33
33
|
"request_body": "{\"image\":{\"image_url\":\"data:image/jpeg;base64,GEGseg42g3g...\"}}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 201,
|
36
36
|
"response_status_text": "Created",
|
37
|
-
"response_body": "{\n \"image\": {\n \"_id\": \"
|
37
|
+
"response_body": "{\n \"image\": {\n \"_id\": \"5d5eca9fd4322a04dfbf6fe1\",\n \"created_at\": \"2019-08-22T17:02:23.033Z\",\n \"image_aspect_ratio\": null,\n \"image_format\": null,\n \"image_height\": null,\n \"image_image\": false,\n \"image_landscape\": null,\n \"image_name\": \"file.jpeg\",\n \"image_portrait\": null,\n \"image_uid\": \"2019/08/22/85kl2u6ylp_file.jpeg\",\n \"image_width\": null,\n \"option\": null,\n \"position\": 0,\n \"updated_at\": \"2019-08-22T17:02:23.033Z\"\n }\n}",
|
38
38
|
"response_content_type": "application/json",
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/products/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/products/DADC121BB9/images\" -d '{\"image\":{\"image_url\":\"data:image/jpeg;base64,GEGseg42g3g...\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Product Images",
|
@@ -19,24 +19,24 @@
|
|
19
19
|
"X-Download-Options": "noopen",
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
|
-
"Location": "/api/admin/products/
|
22
|
+
"Location": "/api/admin/products/C07C48EE41/images",
|
23
23
|
"Content-Type": "application/json; charset=utf-8",
|
24
|
-
"ETag": "W/\"
|
24
|
+
"ETag": "W/\"f6713963ad70767d37c50151fae8af8b\"",
|
25
25
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
26
|
-
"X-Request-Id": "
|
27
|
-
"X-Runtime": "0.
|
26
|
+
"X-Request-Id": "2c22e747-9542-4e35-b881-8d5033f2efac",
|
27
|
+
"X-Runtime": "0.146004",
|
28
28
|
"Expires": "0",
|
29
29
|
"Content-Length": "377"
|
30
30
|
},
|
31
31
|
"request_method": "POST",
|
32
|
-
"request_path": "/api/admin/products/
|
32
|
+
"request_path": "/api/admin/products/C07C48EE41/images",
|
33
33
|
"request_body": "{\"image\":{\"image_url\":\"http://dreamatico.com/data_images/kitten/kitten-2.jpg\"}}",
|
34
34
|
"request_content_type": "application/json",
|
35
35
|
"response_status": 201,
|
36
36
|
"response_status_text": "Created",
|
37
|
-
"response_body": "{\n \"image\": {\n \"_id\": \"
|
37
|
+
"response_body": "{\n \"image\": {\n \"_id\": \"5d5ecaa0d4322a04dfbf6fe8\",\n \"created_at\": \"2019-08-22T17:02:24.040Z\",\n \"image_aspect_ratio\": 1.2,\n \"image_format\": \"jpeg\",\n \"image_height\": 800,\n \"image_image\": true,\n \"image_landscape\": true,\n \"image_name\": \"kitten-2.jpg\",\n \"image_portrait\": false,\n \"image_uid\": \"2019/08/22/2gksff7wv7_kitten_2.jpg\",\n \"image_width\": 960,\n \"option\": null,\n \"position\": 0,\n \"updated_at\": \"2019-08-22T17:02:24.040Z\"\n }\n}",
|
38
38
|
"response_content_type": "application/json",
|
39
|
-
"curl": "curl \"https://www.example.com/api/admin/products/
|
39
|
+
"curl": "curl \"https://www.example.com/api/admin/products/C07C48EE41/images\" -d '{\"image\":{\"image_url\":\"http://dreamatico.com/data_images/kitten/kitten-2.jpg\"}}' -X POST \\\n\t-H \"Content-Type: application/json\""
|
40
40
|
}
|
41
41
|
],
|
42
42
|
"resource": "Product Images",
|
@@ -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/\"273ca9a7bb19193a918f3c964d121859\"",
|
23
23
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
24
|
-
"X-Request-Id": "
|
25
|
-
"X-Runtime": "0.
|
24
|
+
"X-Request-Id": "ab3ad4fb-f64e-4fa5-86c1-b356c4822e59",
|
25
|
+
"X-Runtime": "0.005269",
|
26
26
|
"Expires": "0",
|
27
27
|
"Content-Length": "738"
|
28
28
|
},
|
29
29
|
"request_method": "GET",
|
30
|
-
"request_path": "/api/admin/products/
|
30
|
+
"request_path": "/api/admin/products/D2A8266BE9/images",
|
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 \"images\": [\n {\n \"_id\": \"
|
35
|
+
"response_body": "{\n \"images\": [\n {\n \"_id\": \"5d5ecaa3d4322a04dfbf6ffd\",\n \"created_at\": \"2019-08-22T17:02:27.603Z\",\n \"image_aspect_ratio\": null,\n \"image_format\": null,\n \"image_height\": null,\n \"image_image\": false,\n \"image_landscape\": null,\n \"image_name\": \"file.jpeg\",\n \"image_portrait\": null,\n \"image_uid\": \"2019/08/22/9loelj9jnz_file.jpeg\",\n \"image_width\": null,\n \"option\": null,\n \"position\": 0,\n \"updated_at\": \"2019-08-22T17:02:27.603Z\"\n },\n {\n \"_id\": \"5d5ecaa3d4322a04dfbf6ffe\",\n \"created_at\": \"2019-08-22T17:02:27.813Z\",\n \"image_aspect_ratio\": null,\n \"image_format\": null,\n \"image_height\": null,\n \"image_image\": false,\n \"image_landscape\": null,\n \"image_name\": \"file.jpeg\",\n \"image_portrait\": null,\n \"image_uid\": \"2019/08/22/65v4j0uk9t_file.jpeg\",\n \"image_width\": null,\n \"option\": null,\n \"position\": 1,\n \"updated_at\": \"2019-08-22T17:02:27.813Z\"\n }\n ]\n}",
|
36
36
|
"response_content_type": "application/json",
|
37
|
-
"curl": "curl -g \"https://www.example.com/api/admin/products/
|
37
|
+
"curl": "curl -g \"https://www.example.com/api/admin/products/D2A8266BE9/images\" -X GET "
|
38
38
|
}
|
39
39
|
],
|
40
40
|
"resource": "Product Images",
|
@@ -20,19 +20,19 @@
|
|
20
20
|
"X-Permitted-Cross-Domain-Policies": "none",
|
21
21
|
"Referrer-Policy": "strict-origin-when-cross-origin",
|
22
22
|
"Cache-Control": "no-cache, no-store, must-revalidate",
|
23
|
-
"X-Request-Id": "
|
24
|
-
"X-Runtime": "0.
|
23
|
+
"X-Request-Id": "8724b832-331b-49c6-a861-80f30f17ca51",
|
24
|
+
"X-Runtime": "0.114250",
|
25
25
|
"Expires": "0"
|
26
26
|
},
|
27
27
|
"request_method": "DELETE",
|
28
|
-
"request_path": "/api/admin/products/
|
28
|
+
"request_path": "/api/admin/products/03643C574A/images/5d5ecaa2d4322a04dfbf6ff6",
|
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/products/
|
35
|
+
"curl": "curl \"https://www.example.com/api/admin/products/03643C574A/images/5d5ecaa2d4322a04dfbf6ff6\" -d '' -X DELETE \\\n\t-H \"Content-Type: application/x-www-form-urlencoded\""
|
36
36
|
}
|
37
37
|
],
|
38
38
|
"resource": "Product Images",
|