fake_shopify 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +72 -0
- data/Rakefile +16 -0
- data/lib/fake_shopify.rb +13 -0
- data/lib/fake_shopify/bootable.rb +18 -0
- data/lib/fake_shopify/configuration.rb +11 -0
- data/lib/fake_shopify/fixtures/2019-04/analytics/report/create.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/analytics/report/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/analytics/report/index.json +18 -0
- data/lib/fake_shopify/fixtures/2019-04/analytics/report/show.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/analytics/report/update.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/application_charge/activate.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/application_charge/create.json +16 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/application_charge/index.json +43 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/application_charge/show.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/application_credit/create.json +8 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/application_credit/index.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/application_credit/show.json +8 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/recurring_application_charges/activate.json +19 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/recurring_application_charges/create.json +20 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/recurring_application_charges/customize.json +24 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/recurring_application_charges/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/recurring_application_charges/index.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/recurring_application_charges/show.json +20 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/usage_charge/create.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/usage_charge/index.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/billing/usage_charge/show.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/account_activation_url.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/create.json +67 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/index.json +69 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/search.json +69 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/send_invite.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/show.json +67 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer/update.json +67 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_address/create.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_address/default.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_address/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_address/index.json +23 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_address/set.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_address/show.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_address/update.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_saved_search/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_saved_search/create.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_saved_search/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_saved_search/index.json +25 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_saved_search/other.json +69 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_saved_search/show.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/customers/customer_saved_search/update.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/batch_create.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/batch_discount_codes_index.json +19 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/batch_show.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/create.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/index.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/lookup.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/show.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/discount_codes/update.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/price_rules/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/price_rules/create.json +23 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/price_rules/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/price_rules/index.json +38 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/price_rules/show.json +36 -0
- data/lib/fake_shopify/fixtures/2019-04/discounts/price_rules/update.json +36 -0
- data/lib/fake_shopify/fixtures/2019-04/events/events/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/events/events/index.json +50 -0
- data/lib/fake_shopify/fixtures/2019-04/events/events/show.json +17 -0
- data/lib/fake_shopify/fixtures/2019-04/events/webhooks/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/events/webhooks/create.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/events/webhooks/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/events/webhooks/index.json +26 -0
- data/lib/fake_shopify/fixtures/2019-04/events/webhooks/show.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/events/webhooks/update.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_items/index.json +46 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_items/show.json +16 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_items/update.json +16 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_levels/adjust.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_levels/connect.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_levels/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_levels/index.json +32 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/inventory_levels/set.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/locations/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/locations/index.json +99 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/locations/inventory_levels.json +32 -0
- data/lib/fake_shopify/fixtures/2019-04/inventory/locations/show.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/marketing_event/marketing_events/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/marketing_event/marketing_events/create.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/marketing_event/marketing_events/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/marketing_event/marketing_events/engagements.json +64 -0
- data/lib/fake_shopify/fixtures/2019-04/marketing_event/marketing_events/index.json +28 -0
- data/lib/fake_shopify/fixtures/2019-04/marketing_event/marketing_events/show.json +26 -0
- data/lib/fake_shopify/fixtures/2019-04/marketing_event/marketing_events/update.json +17 -0
- data/lib/fake_shopify/fixtures/2019-04/metafield/metafields/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/metafield/metafields/create.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/metafield/metafields/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/metafield/metafields/index.json +17 -0
- data/lib/fake_shopify/fixtures/2019-04/metafield/metafields/show.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/metafield/metafields/update.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/authors.json +8 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/create.json +18 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/index.json +75 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/show.json +25 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/tags.json +6 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/articles/update.json +25 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/assets/destroy.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/assets/index.json +247 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/assets/show.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/assets/update.json +11 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/blogs/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/blogs/create.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/blogs/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/blogs/index.json +30 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/blogs/show.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/blogs/update.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/approve.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/create.json +17 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/index.json +34 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/not_spam.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/remove.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/restore.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/show.json +17 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/spam.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/comments/update.json +17 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/pages/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/pages/create.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/pages/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/pages/index.json +56 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/pages/show.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/pages/update.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/redirects/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/redirects/create.json +7 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/redirects/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/redirects/index.json +19 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/redirects/show.json +7 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/redirects/update.json +7 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/script_tags/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/script_tags/create.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/script_tags/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/script_tags/index.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/script_tags/show.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/script_tags/update.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/themes/create.json +13 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/themes/destroy.json +11 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/themes/index.json +37 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/themes/show.json +13 -0
- data/lib/fake_shopify/fixtures/2019-04/online_store/themes/update.json +13 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/checkouts/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/checkouts/index.json +365 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/complete.json +139 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/create.json +75 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/index.json +622 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/send_invoice.json +11 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/show.json +139 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/draft_orders/update.json +139 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/cancel.json +820 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/close.json +819 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/create.json +171 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/index.json +821 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/open.json +819 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/show.json +9 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/orders/update.json +819 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/refunds/calculate.json +35 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/refunds/create.json +130 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/refunds/index.json +232 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/refunds/show.json +230 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/risks/create.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/risks/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/risks/index.json +28 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/risks/show.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/risks/update.json +14 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/transactions/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/transactions/create.json +25 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/transactions/index.json +83 -0
- data/lib/fake_shopify/fixtures/2019-04/orders/transactions/show.json +35 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/create.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/disable.json +20 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/index.json +58 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/search.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/show.json +20 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/gift_cards/update.json +20 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/users/current.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/users/index.json +42 -0
- data/lib/fake_shopify/fixtures/2019-04/plus/users/show.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collections/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collections/create.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collections/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collections/index.json +47 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collections/show.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collections/update.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collects/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collects/create.json +11 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collects/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collects/index.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/products/collects/show.json +11 -0
- data/lib/fake_shopify/fixtures/2019-04/products/custom_collections/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/products/custom_collections/create.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/products/custom_collections/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/custom_collections/index.json +47 -0
- data/lib/fake_shopify/fixtures/2019-04/products/custom_collections/show.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/products/custom_collections/update.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/products/images/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/products/images/create.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/products/images/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/images/index.json +32 -0
- data/lib/fake_shopify/fixtures/2019-04/products/images/show.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/products/images/update.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/products/products/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/products/products/create.json +69 -0
- data/lib/fake_shopify/fixtures/2019-04/products/products/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/products/index.json +293 -0
- data/lib/fake_shopify/fixtures/2019-04/products/products/show.json +224 -0
- data/lib/fake_shopify/fixtures/2019-04/products/products/update.json +224 -0
- data/lib/fake_shopify/fixtures/2019-04/products/smart_collections/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/products/smart_collections/create.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/products/smart_collections/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/smart_collections/index.json +31 -0
- data/lib/fake_shopify/fixtures/2019-04/products/smart_collections/order.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/smart_collections/show.json +30 -0
- data/lib/fake_shopify/fixtures/2019-04/products/smart_collections/update.json +29 -0
- data/lib/fake_shopify/fixtures/2019-04/products/variants/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/products/variants/create.json +39 -0
- data/lib/fake_shopify/fixtures/2019-04/products/variants/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/products/variants/index.json +152 -0
- data/lib/fake_shopify/fixtures/2019-04/products/variants/show.json +40 -0
- data/lib/fake_shopify/fixtures/2019-04/products/variants/update.json +39 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/checkouts/complete.json +113 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/checkouts/create.json +82 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/checkouts/shipping_rates.json +30 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/checkouts/show.json +150 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/checkouts/update.json +135 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/collection_listings/create.json +16 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/collection_listings/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/collection_listings/index.json +64 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/collection_listings/product_ids.json +5 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/collection_listings/show.json +16 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/payments/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/payments/create.json +222 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/payments/index.json +208 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/payments/show.json +221 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/product_listings/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/product_listings/create.json +59 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/product_listings/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/product_listings/index.json +236 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/product_listings/product_ids.json +6 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/product_listings/show.json +59 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/resource_feedback/create.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/sales_channel/resource_feedback/index.json +16 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/carrier_services/create.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/carrier_services/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/carrier_services/index.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/carrier_services/show.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/carrier_services/update.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/events/create.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/events/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/events/index.json +24 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/events/show.json +22 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillment_services/create.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillment_services/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillment_services/index.json +17 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillment_services/show.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillment_services/update.json +15 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/cancel.json +100 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/complete.json +100 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/create.json +222 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/index.json +102 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/open.json +100 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/show.json +100 -0
- data/lib/fake_shopify/fixtures/2019-04/shipping_and_fulfillment/fulfillments/update.json +100 -0
- data/lib/fake_shopify/fixtures/2019-04/shopify_payments/balance/show.json +8 -0
- data/lib/fake_shopify/fixtures/2019-04/shopify_payments/disputes/index.json +88 -0
- data/lib/fake_shopify/fixtures/2019-04/shopify_payments/disputes/show.json +16 -0
- data/lib/fake_shopify/fixtures/2019-04/shopify_payments/payouts/index.json +99 -0
- data/lib/fake_shopify/fixtures/2019-04/shopify_payments/payouts/show.json +21 -0
- data/lib/fake_shopify/fixtures/2019-04/shopify_payments/transactions/index.json +468 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/countries/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/countries/create.json +10 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/countries/destroy.json +1 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/countries/index.json +261 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/countries/show.json +154 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/countries/update.json +154 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/currencies/index.json +19 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/policies/index.json +12 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/provinces/count.json +3 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/provinces/index.json +147 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/provinces/show.json +13 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/provinces/update.json +13 -0
- data/lib/fake_shopify/fixtures/2019-04/store_properties/shop/show.json +60 -0
- data/lib/fake_shopify/fixtures/2019-04/tender_transaction/tender_transactions/index.json +34 -0
- data/lib/fake_shopify/fixtures/2020-01/analytics/reports/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/analytics/reports/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/analytics/reports/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/analytics/reports/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/analytics/reports/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_charges/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_charges/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_charges/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_charges/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_charges/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_credits/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_credits/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_credits/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_credits/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/application_credits/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/recurring_application_charges/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/recurring_application_charges/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/recurring_application_charges/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/recurring_application_charges/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/recurring_application_charges/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/usage_charges/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/usage_charges/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/usage_charges/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/usage_charges/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/billing/usage_charges/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/addresses/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/addresses/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/addresses/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/addresses/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/addresses/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customer_saved_searches/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customer_saved_searches/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customer_saved_searches/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customer_saved_searches/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customer_saved_searches/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customers/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customers/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customers/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customers/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/customers/customers/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/discount_codes/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/discount_codes/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/discount_codes/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/discount_codes/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/discount_codes/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/price_rules/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/price_rules/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/price_rules/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/price_rules/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/discounts/price_rules/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/events/events/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/events/events/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/events/events/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/events/events/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/events/events/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/events/webhooks/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/events/webhooks/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/events/webhooks/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/events/webhooks/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/events/webhooks/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_items/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_items/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_items/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_items/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_items/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_levels/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_levels/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_levels/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_levels/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/inventory_levels/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/locations/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/locations/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/locations/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/locations/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/inventory/locations/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/marketing_event/marketing_events/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/marketing_event/marketing_events/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/marketing_event/marketing_events/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/marketing_event/marketing_events/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/marketing_event/marketing_events/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/metafield/metafields/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/metafield/metafields/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/metafield/metafields/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/metafield/metafields/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/metafield/metafields/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/metafields.json +13 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/articles/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/articles/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/articles/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/articles/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/articles/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/assets/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/assets/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/assets/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/assets/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/assets/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/blogs/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/blogs/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/blogs/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/blogs/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/blogs/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/comments/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/comments/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/comments/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/comments/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/comments/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/pages/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/pages/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/pages/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/pages/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/pages/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/redirects/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/redirects/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/redirects/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/redirects/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/redirects/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/script_tags/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/script_tags/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/script_tags/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/script_tags/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/script_tags/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/themes/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/themes/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/themes/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/themes/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/online_store/themes/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/checkouts/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/checkouts/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/checkouts/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/checkouts/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/checkouts/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/draft_orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/draft_orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/draft_orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/draft_orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/draft_orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/refunds/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/refunds/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/refunds/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/refunds/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/refunds/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/risks/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/risks/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/risks/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/risks/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/risks/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/transactions/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/transactions/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/transactions/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/transactions/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/orders/transactions/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/gift_cards/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/gift_cards/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/gift_cards/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/gift_cards/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/gift_cards/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/users/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/users/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/users/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/users/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/plus/users/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products.json +293 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collections/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collections/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collections/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collections/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collections/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collects/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collects/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collects/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collects/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/collects/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/count.json +3 -0
- data/lib/fake_shopify/fixtures/2020-01/products/custom_collections/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/custom_collections/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/products/custom_collections/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/products/custom_collections/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/custom_collections/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/images/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/images/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/products/images/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/products/images/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/images/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/products/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/products/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/products/products/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/products/products/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/products/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/smart_collections/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/smart_collections/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/products/smart_collections/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/products/smart_collections/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/smart_collections/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/variants/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/variants/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/products/variants/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/products/variants/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/products/variants/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/checkouts/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/checkouts/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/checkouts/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/checkouts/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/checkouts/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/collection_listings/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/collection_listings/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/collection_listings/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/collection_listings/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/collection_listings/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/payments/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/payments/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/payments/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/payments/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/payments/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/product_listings/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/product_listings/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/product_listings/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/product_listings/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/product_listings/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/resource_feedback/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/resource_feedback/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/resource_feedback/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/resource_feedback/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/sales_channel/resource_feedback/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/assigned_fulfillment_orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/assigned_fulfillment_orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/assigned_fulfillment_orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/assigned_fulfillment_orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/assigned_fulfillment_orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/cancellation_request/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/cancellation_request/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/cancellation_request/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/cancellation_request/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/cancellation_request/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/carrier_services/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/carrier_services/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/carrier_services/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/carrier_services/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/carrier_services/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/events/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/events/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/events/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/events/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/events/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_request/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_request/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_request/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_request/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_request/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_services/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_services/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_services/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_services/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillment_services/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillments/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillments/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillments/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillments/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/fulfillments/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/locations_for_move/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/locations_for_move/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/locations_for_move/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/locations_for_move/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shipping_and_fulfillment/locations_for_move/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shop.json +60 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/balance/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/balance/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/balance/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/balance/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/balance/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/disputes/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/disputes/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/disputes/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/disputes/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/disputes/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/payouts/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/payouts/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/payouts/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/payouts/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/payouts/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/transactions/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/transactions/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/transactions/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/transactions/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/shopify_payments/transactions/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/countries/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/countries/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/countries/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/countries/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/countries/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/currencies/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/currencies/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/currencies/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/currencies/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/currencies/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/policies/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/policies/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/policies/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/policies/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/policies/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/provinces/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/provinces/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/provinces/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/provinces/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/provinces/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/shop/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/shop/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/shop/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/shop/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/store_properties/shop/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/tender_transaction/tender_transactions/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/tender_transaction/tender_transactions/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-01/tender_transaction/tender_transactions/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-01/tender_transaction/tender_transactions/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-01/tender_transaction/tender_transactions/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/analytics/reports/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/analytics/reports/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/analytics/reports/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/analytics/reports/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/analytics/reports/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_charges/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_charges/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_charges/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_charges/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_charges/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_credits/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_credits/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_credits/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_credits/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/application_credits/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/recurring_application_charges/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/recurring_application_charges/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/recurring_application_charges/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/recurring_application_charges/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/recurring_application_charges/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/usage_charges/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/usage_charges/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/usage_charges/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/usage_charges/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/billing/usage_charges/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/addresses/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/addresses/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/addresses/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/addresses/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/addresses/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customer_saved_searches/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customer_saved_searches/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customer_saved_searches/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customer_saved_searches/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customer_saved_searches/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customers/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customers/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customers/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customers/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/customers/customers/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/discount_codes/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/discount_codes/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/discount_codes/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/discount_codes/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/discount_codes/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/price_rules/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/price_rules/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/price_rules/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/price_rules/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/discounts/price_rules/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/events/events/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/events/events/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/events/events/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/events/events/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/events/events/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/events/webhooks/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/events/webhooks/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/events/webhooks/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/events/webhooks/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/events/webhooks/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_items/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_items/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_items/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_items/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_items/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_levels/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_levels/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_levels/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_levels/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/inventory_levels/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/locations/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/locations/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/locations/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/locations/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/inventory/locations/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/marketing_event/marketing_events/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/marketing_event/marketing_events/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/marketing_event/marketing_events/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/marketing_event/marketing_events/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/marketing_event/marketing_events/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/metafield/metafields/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/metafield/metafields/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/metafield/metafields/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/metafield/metafields/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/metafield/metafields/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/metafields.json +13 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/articles/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/articles/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/articles/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/articles/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/articles/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/assets/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/assets/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/assets/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/assets/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/assets/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/blogs/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/blogs/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/blogs/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/blogs/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/blogs/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/comments/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/comments/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/comments/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/comments/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/comments/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/pages/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/pages/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/pages/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/pages/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/pages/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/redirects/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/redirects/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/redirects/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/redirects/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/redirects/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/script_tags/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/script_tags/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/script_tags/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/script_tags/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/script_tags/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/themes/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/themes/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/themes/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/themes/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/online_store/themes/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/checkouts/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/checkouts/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/checkouts/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/checkouts/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/checkouts/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/draft_orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/draft_orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/draft_orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/draft_orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/draft_orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/refunds/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/refunds/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/refunds/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/refunds/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/refunds/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/risks/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/risks/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/risks/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/risks/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/risks/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/transactions/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/transactions/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/transactions/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/transactions/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/orders/transactions/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/gift_cards/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/gift_cards/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/gift_cards/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/gift_cards/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/gift_cards/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/users/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/users/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/users/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/users/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/plus/users/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products.json +293 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collections/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collections/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collections/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collections/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collections/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collects/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collects/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collects/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collects/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/collects/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/count.json +3 -0
- data/lib/fake_shopify/fixtures/2020-04/products/custom_collections/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/custom_collections/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/products/custom_collections/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/products/custom_collections/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/custom_collections/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/images/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/images/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/products/images/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/products/images/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/images/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/products/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/products/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/products/products/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/products/products/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/products/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/smart_collections/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/smart_collections/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/products/smart_collections/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/products/smart_collections/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/smart_collections/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/variants/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/variants/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/products/variants/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/products/variants/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/products/variants/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/checkouts/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/checkouts/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/checkouts/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/checkouts/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/checkouts/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/collection_listings/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/collection_listings/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/collection_listings/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/collection_listings/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/collection_listings/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/payments/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/payments/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/payments/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/payments/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/payments/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/product_listings/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/product_listings/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/product_listings/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/product_listings/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/product_listings/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/resource_feedback/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/resource_feedback/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/resource_feedback/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/resource_feedback/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/sales_channel/resource_feedback/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/assigned_fulfillment_orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/assigned_fulfillment_orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/assigned_fulfillment_orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/assigned_fulfillment_orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/assigned_fulfillment_orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/cancellation_request/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/cancellation_request/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/cancellation_request/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/cancellation_request/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/cancellation_request/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/carrier_services/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/carrier_services/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/carrier_services/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/carrier_services/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/carrier_services/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/events/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/events/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/events/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/events/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/events/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_orders/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_orders/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_orders/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_orders/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_orders/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_request/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_request/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_request/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_request/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_request/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_services/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_services/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_services/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_services/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillment_services/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillments/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillments/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillments/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillments/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/fulfillments/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/locations_for_move/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/locations_for_move/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/locations_for_move/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/locations_for_move/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shipping_and_fulfillment/locations_for_move/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shop.json +60 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/balance/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/balance/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/balance/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/balance/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/balance/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/disputes/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/disputes/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/disputes/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/disputes/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/disputes/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/payouts/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/payouts/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/payouts/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/payouts/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/payouts/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/transactions/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/transactions/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/transactions/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/transactions/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/shopify_payments/transactions/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/countries/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/countries/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/countries/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/countries/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/countries/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/currencies/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/currencies/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/currencies/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/currencies/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/currencies/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/policies/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/policies/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/policies/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/policies/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/policies/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/provinces/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/provinces/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/provinces/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/provinces/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/provinces/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/shop/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/shop/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/shop/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/shop/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/store_properties/shop/update.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/tender_transaction/tender_transactions/create.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/tender_transaction/tender_transactions/delete.json +1 -0
- data/lib/fake_shopify/fixtures/2020-04/tender_transaction/tender_transactions/list.json +18 -0
- data/lib/fake_shopify/fixtures/2020-04/tender_transaction/tender_transactions/retrieve.json +9 -0
- data/lib/fake_shopify/fixtures/2020-04/tender_transaction/tender_transactions/update.json +9 -0
- data/lib/fake_shopify/initializers/webmock.rb +4 -0
- data/lib/fake_shopify/routes/analytics.rb +24 -0
- data/lib/fake_shopify/routes/billing.rb +71 -0
- data/lib/fake_shopify/routes/customers.rb +105 -0
- data/lib/fake_shopify/routes/discounts.rb +65 -0
- data/lib/fake_shopify/routes/events.rb +43 -0
- data/lib/fake_shopify/routes/inventory.rb +57 -0
- data/lib/fake_shopify/routes/marketing_event.rb +33 -0
- data/lib/fake_shopify/routes/metafield.rb +29 -0
- data/lib/fake_shopify/routes/online_store.rb +226 -0
- data/lib/fake_shopify/routes/orders.rb +143 -0
- data/lib/fake_shopify/routes/plus.rb +47 -0
- data/lib/fake_shopify/routes/products.rb +172 -0
- data/lib/fake_shopify/routes/sales_channel.rb +101 -0
- data/lib/fake_shopify/routes/shipping_and_fulfillment.rb +160 -0
- data/lib/fake_shopify/routes/shopify_payments.rb +35 -0
- data/lib/fake_shopify/routes/store_properties.rb +65 -0
- data/lib/fake_shopify/routes/tender_transaction.rb +8 -0
- data/lib/fake_shopify/stub_app.rb +19 -0
- data/lib/fake_shopify/version.rb +3 -0
- metadata +1136 -0
@@ -0,0 +1,143 @@
|
|
1
|
+
module FakeShopify
|
2
|
+
class StubApp < Sinatra::Base
|
3
|
+
# Abandoned checkouts API Endpoints
|
4
|
+
get "/admin/api/:api_version/checkouts/count.json" do
|
5
|
+
json_response 200, fixture(params[:api_version], "orders/checkouts/count")
|
6
|
+
end
|
7
|
+
# Retrieves a count of checkouts
|
8
|
+
get "/admin/api/:api_version/checkouts.json" do
|
9
|
+
json_response 200, fixture(params[:api_version], "orders/checkouts/index")
|
10
|
+
end
|
11
|
+
# Retrieves a list of abandoned checkouts
|
12
|
+
|
13
|
+
# Order Risk API Endpoints
|
14
|
+
post "/admin/api/:api_version/orders/:order_id/risks.json" do
|
15
|
+
json_response 200, fixture(params[:api_version], "orders/risks/create")
|
16
|
+
end
|
17
|
+
# Creates an order risk for an order
|
18
|
+
get "/admin/api/:api_version/orders/:order_id/risks.json" do
|
19
|
+
json_response 200, fixture(params[:api_version], "orders/risks/index")
|
20
|
+
end
|
21
|
+
# Retrieves a list of all order risks for an order
|
22
|
+
get "/admin/api/:api_version/orders/:order_id/risks/:risk_id.json" do
|
23
|
+
json_response 200, fixture(params[:api_version], "orders/risks/show")
|
24
|
+
end
|
25
|
+
# Retrieves a single order risk by its ID
|
26
|
+
put "/admin/api/:api_version/orders/:order_id/risks/:risk_id.json" do
|
27
|
+
json_response 200, fixture(params[:api_version], "orders/risks/update")
|
28
|
+
end
|
29
|
+
# Updates an order risk
|
30
|
+
delete "/admin/api/:api_version/orders/:order_id/risks/:risk_id.json" do
|
31
|
+
json_response 200, fixture(params[:api_version], "orders/risks/destroy")
|
32
|
+
end
|
33
|
+
# deletes an order risk for an order
|
34
|
+
|
35
|
+
# DraftOrder API Endpoints
|
36
|
+
post "/admin/api/:api_version/draft_orders.json" do
|
37
|
+
json_response 200, fixture(params[:api_version], "orders/draft_orders/create")
|
38
|
+
end
|
39
|
+
# Create a new DraftOrder
|
40
|
+
get "/admin/api/:api_version/draft_orders/count.json" do
|
41
|
+
json_response 200, fixture(params[:api_version], "orders/draft_orders/count")
|
42
|
+
end
|
43
|
+
# Receive a count of all DraftOrders
|
44
|
+
put "/admin/api/:api_version/draft_orders/:draft_order_id.json" do
|
45
|
+
json_response 200, fixture(params[:api_version], "orders/draft_orders/update")
|
46
|
+
end
|
47
|
+
# Modify an existing DraftOrder
|
48
|
+
get "/admin/api/:api_version/draft_orders.json" do
|
49
|
+
json_response 200, fixture(params[:api_version], "orders/draft_orders/index")
|
50
|
+
end
|
51
|
+
# Retrieves a list of draft orders
|
52
|
+
get "/admin/api/:api_version/draft_orders/:draft_order_id.json" do
|
53
|
+
json_response 200, fixture(params[:api_version], "orders/draft_orders/show")
|
54
|
+
end
|
55
|
+
# Receive a single DraftOrder
|
56
|
+
post "/admin/api/:api_version/draft_orders/:draft_order_id/send_invoice.json" do
|
57
|
+
json_response 200, fixture(params[:api_version], "orders/draft_orders/send_invoice")
|
58
|
+
end
|
59
|
+
# Send an invoice
|
60
|
+
delete "/admin/api/:api_version/draft_orders/:draft_order_id.json" do
|
61
|
+
json_response 200, fixture(params[:api_version], "orders/draft_orders/destroy")
|
62
|
+
end
|
63
|
+
# Remove an existing DraftOrder
|
64
|
+
put "/admin/api/:api_version/draft_orders/:draft_order_id/complete.json" do
|
65
|
+
json_response 200, fixture(params[:api_version], "orders/draft_orders/complete")
|
66
|
+
end
|
67
|
+
# Complete a draft order
|
68
|
+
|
69
|
+
# Order API Endpoints
|
70
|
+
get "/admin/api/:api_version/orders.json" do
|
71
|
+
json_response 200, fixture(params[:api_version], "orders/orders/index")
|
72
|
+
end
|
73
|
+
# Retrieves a list of orders
|
74
|
+
get "/admin/api/:api_version/orders/count.json" do
|
75
|
+
json_response 200, fixture(params[:api_version], "orders/orders/count")
|
76
|
+
end
|
77
|
+
# Retrieves an order count
|
78
|
+
get "/admin/api/:api_version/orders/:order_id.json" do
|
79
|
+
json_response 200, fixture(params[:api_version], "orders/orders/show")
|
80
|
+
end
|
81
|
+
# Retrieves a specific order
|
82
|
+
post "/admin/api/:api_version/orders/:order_id/close.json" do
|
83
|
+
json_response 200, fixture(params[:api_version], "orders/orders/close")
|
84
|
+
end
|
85
|
+
# Closes an order
|
86
|
+
post "/admin/api/:api_version/orders/:order_id/open.json" do
|
87
|
+
json_response 200, fixture(params[:api_version], "orders/orders/open")
|
88
|
+
end
|
89
|
+
# Re-opens a closed order
|
90
|
+
post "/admin/api/:api_version/orders/:order_id/cancel.json" do
|
91
|
+
json_response 200, fixture(params[:api_version], "orders/orders/cancel")
|
92
|
+
end
|
93
|
+
# Cancels an order
|
94
|
+
post "/admin/api/:api_version/orders.json" do
|
95
|
+
json_response 200, fixture(params[:api_version], "orders/orders/create")
|
96
|
+
end
|
97
|
+
# Creates an order
|
98
|
+
put "/admin/api/:api_version/orders/:order_id.json" do
|
99
|
+
json_response 200, fixture(params[:api_version], "orders/orders/update")
|
100
|
+
end
|
101
|
+
# Updates an order
|
102
|
+
delete "/admin/api/:api_version/orders/:order_id.json" do
|
103
|
+
json_response 200, fixture(params[:api_version], "orders/orders/destroy")
|
104
|
+
end
|
105
|
+
# deletes an order
|
106
|
+
|
107
|
+
# Transaction API Endpoints
|
108
|
+
get "/admin/api/:api_version/orders/:order_id/transactions.json" do
|
109
|
+
json_response 200, fixture(params[:api_version], "orders/transactions/index")
|
110
|
+
end
|
111
|
+
# Retrieves a list of transactions
|
112
|
+
get "/admin/api/:api_version/orders/:order_id/transactions/count.json" do
|
113
|
+
json_response 200, fixture(params[:api_version], "orders/transactions/count")
|
114
|
+
end
|
115
|
+
# Retrieves a count of an order"s transactions
|
116
|
+
get "/admin/api/:api_version/orders/:order_id/transactions/:transaction_id.json" do
|
117
|
+
json_response 200, fixture(params[:api_version], "orders/transactions/show")
|
118
|
+
end
|
119
|
+
# Retrieves a specific transaction
|
120
|
+
post "/admin/api/:api_version/orders/:order_id/transactions.json" do
|
121
|
+
json_response 200, fixture(params[:api_version], "orders/transactions/create")
|
122
|
+
end
|
123
|
+
# Creates a transaction for an order
|
124
|
+
|
125
|
+
# Refund API Endpoints
|
126
|
+
get "/admin/api/:api_version/orders/:order_id/refunds.json" do
|
127
|
+
json_response 200, fixture(params[:api_version], "orders/refunds/index")
|
128
|
+
end
|
129
|
+
# Retrieves a list of refunds for an order
|
130
|
+
get "/admin/api/:api_version/orders/:order_id/refunds/:refund_id.json" do
|
131
|
+
json_response 200, fixture(params[:api_version], "orders/refunds/show")
|
132
|
+
end
|
133
|
+
# Retrieves a specific refund
|
134
|
+
post "/admin/api/:api_version/orders/:order_id/refunds/calculate.json" do
|
135
|
+
json_response 200, fixture(params[:api_version], "orders/refunds/calculate")
|
136
|
+
end
|
137
|
+
# Calculates a refund
|
138
|
+
post "/admin/api/:api_version/orders/:order_id/refunds.json" do
|
139
|
+
json_response 200, fixture(params[:api_version], "orders/refunds/create")
|
140
|
+
end
|
141
|
+
# Creates a refund
|
142
|
+
end
|
143
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
module FakeShopify
|
2
|
+
class StubApp < Sinatra::Base
|
3
|
+
# Gift Card API Endpoints
|
4
|
+
get "/admin/api/:api_version/gift_cards.json" do
|
5
|
+
json_response 200, fixture(params[:api_version], "plus/gift_cards/index")
|
6
|
+
end
|
7
|
+
# Retrieves a list of gift cards
|
8
|
+
get "/admin/api/:api_version/gift_cards/count.json" do
|
9
|
+
json_response 200, fixture(params[:api_version], "plus/gift_cards/count")
|
10
|
+
end
|
11
|
+
# Retrieves a count of gift cards
|
12
|
+
get "/admin/api/:api_version/gift_cards/search.json" do
|
13
|
+
json_response 200, fixture(params[:api_version], "plus/gift_cards/search")
|
14
|
+
end
|
15
|
+
# Searches for gift cards
|
16
|
+
get "/admin/api/:api_version/gift_cards/:gift_card_id.json" do
|
17
|
+
json_response 200, fixture(params[:api_version], "plus/gift_cards/show")
|
18
|
+
end
|
19
|
+
# Retrieves a single gift card
|
20
|
+
post "/admin/api/:api_version/gift_cards.json" do
|
21
|
+
json_response 200, fixture(params[:api_version], "plus/gift_cards/create")
|
22
|
+
end
|
23
|
+
# Creates a gift card
|
24
|
+
put "/admin/api/:api_version/gift_cards/:gift_card_id.json" do
|
25
|
+
json_response 200, fixture(params[:api_version], "plus/gift_cards/update")
|
26
|
+
end
|
27
|
+
# Updates an existing gift card
|
28
|
+
post "/admin/api/:api_version/gift_cards/:gift_card_id/disable.json" do
|
29
|
+
json_response 200, fixture(params[:api_version], "plus/gift_cards/disable")
|
30
|
+
end
|
31
|
+
# Disables a gift card
|
32
|
+
|
33
|
+
# User API Endpoints
|
34
|
+
get "/admin/api/:api_version/users.json" do
|
35
|
+
json_response 200, fixture(params[:api_version], "plus/users/index")
|
36
|
+
end
|
37
|
+
# Retrieves a list of all users
|
38
|
+
get "/admin/api/:api_version/users/current.json" do
|
39
|
+
json_response 200, fixture(params[:api_version], "plus/users/current")
|
40
|
+
end
|
41
|
+
# Retrieves the currently logged-in user
|
42
|
+
get "/admin/api/:api_version/users/:user_id.json" do
|
43
|
+
json_response 200, fixture(params[:api_version], "plus/users/show")
|
44
|
+
end
|
45
|
+
# Retrieves a single user
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,172 @@
|
|
1
|
+
module FakeShopify
|
2
|
+
class StubApp < Sinatra::Base
|
3
|
+
# Product Image API Endpoints
|
4
|
+
get "/admin/api/:api_version/products/:product_id/images.json" do
|
5
|
+
json_response 200, fixture(params[:api_version], "products/images/index")
|
6
|
+
end
|
7
|
+
# Receive a list of all Product Images
|
8
|
+
get "/admin/api/:api_version/products/:product_id/images/count.json" do
|
9
|
+
json_response 200, fixture(params[:api_version], "products/images/count")
|
10
|
+
end
|
11
|
+
# Receive a count of all Product Images
|
12
|
+
get "/admin/api/:api_version/products/:product_id/images/:image_id.json" do
|
13
|
+
json_response 200, fixture(params[:api_version], "products/images/show")
|
14
|
+
end
|
15
|
+
# Receive a single Product Image
|
16
|
+
post "/admin/api/:api_version/products/:product_id/images.json" do
|
17
|
+
json_response 200, fixture(params[:api_version], "products/images/create")
|
18
|
+
end
|
19
|
+
# Create a new Product Image
|
20
|
+
put "/admin/api/:api_version/products/:product_id/images/:image_id.json" do
|
21
|
+
json_response 200, fixture(params[:api_version], "products/images/update")
|
22
|
+
end
|
23
|
+
# Modify an existing Product Image
|
24
|
+
delete "/admin/api/:api_version/products/:product_id/images/:image_id.json" do
|
25
|
+
json_response 200, fixture(params[:api_version], "products/images/destroy")
|
26
|
+
end
|
27
|
+
# Remove an existing Product Image
|
28
|
+
|
29
|
+
# CustomCollection API Endpoints
|
30
|
+
|
31
|
+
get "/admin/api/:api_version/custom_collections.json" do
|
32
|
+
json_response 200, fixture(params[:api_version], "products/custom_collections/index")
|
33
|
+
end
|
34
|
+
# Retrieves a list of custom collections
|
35
|
+
get "/admin/api/:api_version/custom_collections/count.json" do
|
36
|
+
json_response 200, fixture(params[:api_version], "products/custom_collections/count")
|
37
|
+
end
|
38
|
+
# Retrieves a count of custom collections
|
39
|
+
get "/admin/api/:api_version/custom_collections/:custom_collection_id.json" do
|
40
|
+
json_response 200, fixture(params[:api_version], "products/custom_collections/show")
|
41
|
+
end
|
42
|
+
# Retrieves a single custom collection
|
43
|
+
post "/admin/api/:api_version/custom_collections.json" do
|
44
|
+
json_response 200, fixture(params[:api_version], "products/custom_collections/create")
|
45
|
+
end
|
46
|
+
# Creates a custom collection
|
47
|
+
put "/admin/api/:api_version/custom_collections/:custom_collection_id.json" do
|
48
|
+
json_response 200, fixture(params[:api_version], "products/custom_collections/update")
|
49
|
+
end
|
50
|
+
# Updates an existing custom collection
|
51
|
+
delete "/admin/api/:api_version/custom_collections/:custom_collection_id.json" do
|
52
|
+
json_response 200, fixture(params[:api_version], "products/custom_collections/destroy")
|
53
|
+
end
|
54
|
+
# deletes a custom collection
|
55
|
+
|
56
|
+
# Product Variant API Endpoints
|
57
|
+
|
58
|
+
get "/admin/api/:api_version/products/:product_id/variants.json" do
|
59
|
+
json_response 200, fixture(params[:api_version], "products/variants/index")
|
60
|
+
end
|
61
|
+
# Retrieves a list of product variants
|
62
|
+
get "/admin/api/:api_version/products/:product_id/variants/count.json" do
|
63
|
+
json_response 200, fixture(params[:api_version], "products/variants/count")
|
64
|
+
end
|
65
|
+
# Receive a count of all Product Variants
|
66
|
+
get "/admin/api/:api_version/variants/:variant_id.json" do
|
67
|
+
json_response 200, fixture(params[:api_version], "products/variants/show")
|
68
|
+
end
|
69
|
+
# Receive a single Product Variant
|
70
|
+
post "/admin/api/:api_version/products/:product_id/variants.json" do
|
71
|
+
json_response 200, fixture(params[:api_version], "products/variants/create")
|
72
|
+
end
|
73
|
+
# Create a new Product Variant
|
74
|
+
put "/admin/api/:api_version/variants/:variant_id.json" do
|
75
|
+
json_response 200, fixture(params[:api_version], "products/variants/update")
|
76
|
+
end
|
77
|
+
# Modify an existing Product Variant
|
78
|
+
delete "/admin/api/:api_version/products/:product_id/variants/:variant_id.json" do
|
79
|
+
json_response 200, fixture(params[:api_version], "products/variants/destroy")
|
80
|
+
end
|
81
|
+
# Remove an existing Product Variant
|
82
|
+
|
83
|
+
# Product API Endpoints
|
84
|
+
|
85
|
+
get "/admin/api/:api_version/products.json" do
|
86
|
+
json_response 200, fixture(params[:api_version], "products/products/index")
|
87
|
+
end
|
88
|
+
# Retrieves a list of products
|
89
|
+
get "/admin/api/:api_version/products/count.json" do
|
90
|
+
json_response 200, fixture(params[:api_version], "products/products/count")
|
91
|
+
end
|
92
|
+
# Retrieves a count of products
|
93
|
+
get "/admin/api/:api_version/products/:product_id.json" do
|
94
|
+
json_response 200, fixture(params[:api_version], "products/products/show")
|
95
|
+
end
|
96
|
+
# Retrieves a single product
|
97
|
+
post "/admin/api/:api_version/products.json" do
|
98
|
+
json_response 200, fixture(params[:api_version], "products/products/create")
|
99
|
+
end
|
100
|
+
# Creates a new product
|
101
|
+
put "/admin/api/:api_version/products/:product_id.json" do
|
102
|
+
json_response 200, fixture(params[:api_version], "products/products/update")
|
103
|
+
end
|
104
|
+
# Updates a product
|
105
|
+
delete "/admin/api/:api_version/products/:product_id.json" do
|
106
|
+
json_response 200, fixture(params[:api_version], "products/products/destroy")
|
107
|
+
end
|
108
|
+
# deletes a product
|
109
|
+
|
110
|
+
# Collection API Endpoints
|
111
|
+
# TODO: Check API endpoints here
|
112
|
+
get "/admin/api/:api_version/collections/:collection_id.json" do
|
113
|
+
json_response 200, fixture(params[:api_version], "products/collections/show")
|
114
|
+
end
|
115
|
+
|
116
|
+
get "/admin/api/:api_version/collections/:collection_id/products.json" do
|
117
|
+
json_response 200, fixture(params[:api_version], "products/collections/products")
|
118
|
+
end
|
119
|
+
|
120
|
+
# Collect API Endpoints
|
121
|
+
post "/admin/api/:api_version/collects.json" do
|
122
|
+
json_response 200, fixture(params[:api_version], "products/collects/index")
|
123
|
+
end
|
124
|
+
# Adds a product to a custom collection
|
125
|
+
delete "/admin/api/:api_version/collects/:collect_id.json" do
|
126
|
+
json_response 200, fixture(params[:api_version], "products/collects/destroy")
|
127
|
+
end
|
128
|
+
# Removes a product from a collection
|
129
|
+
get "/admin/api/:api_version/collects.json" do
|
130
|
+
json_response 200, fixture(params[:api_version], "products/collects/index")
|
131
|
+
end
|
132
|
+
# Retrieves a list of collects
|
133
|
+
get "/admin/api/:api_version/collects/count.json" do
|
134
|
+
json_response 200, fixture(params[:api_version], "products/collects/count")
|
135
|
+
end
|
136
|
+
# Retrieves a count of collects
|
137
|
+
get "/admin/api/:api_version/collects/:collect_id.json" do
|
138
|
+
json_response 200, fixture(params[:api_version], "products/collects/show")
|
139
|
+
end
|
140
|
+
# Retrieves a specific collect by its ID
|
141
|
+
|
142
|
+
# SmartCollection API Endpoints
|
143
|
+
get "/admin/api/:api_version/smart_collections.json" do
|
144
|
+
json_response 200, fixture(params[:api_version], "products/smart_collections/index")
|
145
|
+
end
|
146
|
+
# Retrieves a list of smart collections
|
147
|
+
get "/admin/api/:api_version/smart_collections/count.json" do
|
148
|
+
json_response 200, fixture(params[:api_version], "products/smart_collections/count")
|
149
|
+
end
|
150
|
+
# Retrieves a count of smart collections
|
151
|
+
get "/admin/api/:api_version/smart_collections/:smart_collection_id.json" do
|
152
|
+
json_response 200, fixture(params[:api_version], "products/smart_collections/show")
|
153
|
+
end
|
154
|
+
# Retrieves a single smart collection
|
155
|
+
post "/admin/api/:api_version/smart_collections.json" do
|
156
|
+
json_response 200, fixture(params[:api_version], "products/smart_collections/create")
|
157
|
+
end
|
158
|
+
# Creates a smart collection
|
159
|
+
put "/admin/api/:api_version/smart_collections/:smart_collection_id.json" do
|
160
|
+
json_response 200, fixture(params[:api_version], "products/smart_collections/update")
|
161
|
+
end
|
162
|
+
# Updates an existing smart collection
|
163
|
+
put "/admin/api/:api_version/smart_collections/:smart_collection_id/order.json" do
|
164
|
+
json_response 200, fixture(params[:api_version], "products/smart_collections/order")
|
165
|
+
end
|
166
|
+
# Updates the ordering type of products in a smart collection
|
167
|
+
delete "/admin/api/:api_version/smart_collections/:smart_collection_id.json" do
|
168
|
+
json_response 200, fixture(params[:api_version], "products/smart_collections/destroy")
|
169
|
+
end
|
170
|
+
# Removes a smart collection
|
171
|
+
end
|
172
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
module FakeShopify
|
2
|
+
class StubApp < Sinatra::Base
|
3
|
+
# CollectionListing API Endpoints
|
4
|
+
get "/admin/api/:api_version/collection_listings.json" do
|
5
|
+
json_response 200, fixture(params[:api_version], "sales_channel/collection_listings/index")
|
6
|
+
end
|
7
|
+
# Retrieve collection listings that are published to your app
|
8
|
+
get "/admin/api/:api_version/collection_listings/:collection_listing_id/product_ids.json" do
|
9
|
+
json_response 200, fixture(params[:api_version], "sales_channel/collection_listings/product_ids")
|
10
|
+
end
|
11
|
+
# Retrieve product_ids that are published to a collection_id
|
12
|
+
get "/admin/api/:api_version/collection_listings/:collection_listing_id.json" do
|
13
|
+
json_response 200, fixture(params[:api_version], "sales_channel/collection_listings/show")
|
14
|
+
end
|
15
|
+
# Retrieve a specific collection listing that is published to your app
|
16
|
+
put "/admin/api/:api_version/collection_listings/:collection_listing_id.json" do
|
17
|
+
json_response 200, fixture(params[:api_version], "sales_channel/collection_listings/create")
|
18
|
+
end
|
19
|
+
# Create a collection listing to publish a collection to your app
|
20
|
+
delete "/admin/api/:api_version/collection_listings/:collection_listing_id.json" do
|
21
|
+
json_response 200, fixture(params[:api_version], "sales_channel/collection_listings/destroy")
|
22
|
+
end
|
23
|
+
# delete a collection listing to unpublish a collection from your app
|
24
|
+
|
25
|
+
# Payment API Endpoints
|
26
|
+
post "/admin/api/:api_version/checkouts/:token/payments.json" do
|
27
|
+
json_response 200, fixture(params[:api_version], "sales_channel/payments/create")
|
28
|
+
end
|
29
|
+
# Creates a new payment
|
30
|
+
get "/admin/api/:api_version/checkouts/:token/payments.json" do
|
31
|
+
json_response 200, fixture(params[:api_version], "sales_channel/payments/index")
|
32
|
+
end
|
33
|
+
# Retrieves a list of payments on a particular checkout
|
34
|
+
get "/admin/api/:api_version/checkouts/:token/payments/:payment_id.json" do
|
35
|
+
json_response 200, fixture(params[:api_version], "sales_channel/payments/show")
|
36
|
+
end
|
37
|
+
# Retrieves a single payment
|
38
|
+
get "/admin/api/:api_version/checkouts/:token/payments/count.json" do
|
39
|
+
json_response 200, fixture(params[:api_version], "sales_channel/payments/count")
|
40
|
+
end
|
41
|
+
# Counts the number of payments attempted on a checkout
|
42
|
+
|
43
|
+
# Checkout API Endpoints
|
44
|
+
post "/admin/api/:api_version/checkouts.json" do
|
45
|
+
json_response 200, fixture(params[:api_version], "sales_channel/checkouts/create")
|
46
|
+
end
|
47
|
+
# Creates a checkout
|
48
|
+
post "/admin/api/:api_version/checkouts/:token/complete.json" do
|
49
|
+
json_response 200, fixture(params[:api_version], "sales_channel/checkouts/complete")
|
50
|
+
end
|
51
|
+
# Completes a checkout
|
52
|
+
get "/admin/api/:api_version/checkouts/:token.json" do
|
53
|
+
json_response 200, fixture(params[:api_version], "sales_channel/checkouts/show")
|
54
|
+
end
|
55
|
+
# Retrieves a checkout
|
56
|
+
put "/admin/api/:api_version/checkouts/:token.json" do
|
57
|
+
json_response 200, fixture(params[:api_version], "sales_channel/checkouts/update")
|
58
|
+
end
|
59
|
+
# Modifies an existing checkout
|
60
|
+
get "/admin/api/:api_version/checkouts/:token/shipping_rates.json" do
|
61
|
+
json_response 200, fixture(params[:api_version], "sales_channel/checkouts/shipping_rates")
|
62
|
+
end
|
63
|
+
# Retrieves a list of shipping rates
|
64
|
+
|
65
|
+
# ResourceFeedback API Endpoints
|
66
|
+
post "/admin/api/:api_version/resource_feedback.json" do
|
67
|
+
json_response 200, fixture(params[:api_version], "sales_channel/resource_feedback/create")
|
68
|
+
end
|
69
|
+
# Create a new ResourceFeedback
|
70
|
+
get "/admin/api/:api_version/resource_feedback.json" do
|
71
|
+
json_response 200, fixture(params[:api_version], "sales_channel/resource_feedback/index")
|
72
|
+
end
|
73
|
+
# Receive a list of all ResourceFeedbacks
|
74
|
+
|
75
|
+
# ProductListing API Endpoints
|
76
|
+
get "/admin/api/:api_version/product_listings.json" do
|
77
|
+
json_response 200, fixture(params[:api_version], "sales_channel/product_listings/index")
|
78
|
+
end
|
79
|
+
# Retrieve product listings that are published to your app
|
80
|
+
get "/admin/api/:api_version/product_listings/product_ids.json" do
|
81
|
+
json_response 200, fixture(params[:api_version], "sales_channel/product_listings/product_ids")
|
82
|
+
end
|
83
|
+
# Retrieve product_ids that are published to your app
|
84
|
+
get "/admin/api/:api_version/product_listings/count.json" do
|
85
|
+
json_response 200, fixture(params[:api_version], "sales_channel/product_listings/count")
|
86
|
+
end
|
87
|
+
# Retrieve a count of products that are published to your app
|
88
|
+
get "/admin/api/:api_version/product_listings/:product_listing_id.json" do
|
89
|
+
json_response 200, fixture(params[:api_version], "sales_channel/product_listings/show")
|
90
|
+
end
|
91
|
+
# Retrieve a specific product listing that is published to your app
|
92
|
+
put "/admin/api/:api_version/product_listings/:product_listing_id.json" do
|
93
|
+
json_response 200, fixture(params[:api_version], "sales_channel/product_listings/create")
|
94
|
+
end
|
95
|
+
# Create a product listing to publish a product to your app
|
96
|
+
delete "/admin/api/:api_version/product_listings/:product_listing_id.json" do
|
97
|
+
json_response 200, fixture(params[:api_version], "sales_channel/product_listings/destroy")
|
98
|
+
end
|
99
|
+
# delete a product listing to unpublish a product from your app
|
100
|
+
end
|
101
|
+
end
|