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,65 @@
|
|
1
|
+
module FakeShopify
|
2
|
+
class StubApp < Sinatra::Base
|
3
|
+
# PriceRules API Endpoints
|
4
|
+
post "/admin/api/:api_version/price_rules.json" do
|
5
|
+
json_response 200, fixture(params[:api_version], "discounts/price_rules/create")
|
6
|
+
end
|
7
|
+
|
8
|
+
get "/admin/api/:api_version/price_rules/count.json" do
|
9
|
+
json_response 200, fixture(params[:api_version], "discounts/price_rules/count")
|
10
|
+
end
|
11
|
+
|
12
|
+
put "/admin/api/:api_version/price_rules/:price_rule_id.json" do
|
13
|
+
json_response 200, fixture(params[:api_version], "discounts/price_rules/update")
|
14
|
+
end
|
15
|
+
|
16
|
+
get "/admin/api/:api_version/price_rules.json" do
|
17
|
+
json_response 200, fixture(params[:api_version], "discounts/price_rules/index")
|
18
|
+
end
|
19
|
+
|
20
|
+
get "/admin/api/:api_version/price_rules/:price_rule_id.json" do
|
21
|
+
json_response 200, fixture(params[:api_version], "discounts/price_rules/show")
|
22
|
+
end
|
23
|
+
|
24
|
+
delete "/admin/api/:api_version/price_rules/:price_rule_id.json" do
|
25
|
+
json_response 200, fixture(params[:api_version], "discounts/price_rules/destroy")
|
26
|
+
end
|
27
|
+
|
28
|
+
# DiscountCodes API Endpoints
|
29
|
+
post "/admin/api/:api_version/price_rules/:price_rule_id/discount_codes.json" do
|
30
|
+
json_response 200, fixture(params[:api_version], "discounts/discount_codes/create")
|
31
|
+
end
|
32
|
+
|
33
|
+
put "/admin/api/:api_version/price_rules/:price_rule_id/discount_codes/:discount_code_id.json" do
|
34
|
+
json_response 200, fixture(params[:api_version], "discounts/discount_codes/update")
|
35
|
+
end
|
36
|
+
|
37
|
+
get "/admin/api/:api_version/price_rules/:price_rule_id/discount_codes.json" do
|
38
|
+
json_response 200, fixture(params[:api_version], "discounts/discount_codes/index")
|
39
|
+
end
|
40
|
+
|
41
|
+
get "/admin/api/:api_version/price_rules/:price_rule_id/discount_codes/:discount_code_id.json" do
|
42
|
+
json_response 200, fixture(params[:api_version], "discounts/discount_codes/show")
|
43
|
+
end
|
44
|
+
|
45
|
+
get "/admin/api/:api_version/discount_codes/lookup.json" do
|
46
|
+
json_response 200, fixture(params[:api_version], "discounts/discount_codes/lookup")
|
47
|
+
end
|
48
|
+
|
49
|
+
delete "/admin/api/:api_version/price_rules/:price_rule_id/discount_codes/:discount_code_id.json" do
|
50
|
+
json_response 200, fixture(params[:api_version], "discounts/discount_codes/destroy")
|
51
|
+
end
|
52
|
+
|
53
|
+
post "/admin/api/:api_version/price_rules/:price_rule_id/batch.json" do
|
54
|
+
json_response 200, fixture(params[:api_version], "discounts/discount_codes/batch_show")
|
55
|
+
end
|
56
|
+
|
57
|
+
get "/admin/api/:api_version/price_rules/:price_rule_id/batch/:batch_id/discount_codes.json" do
|
58
|
+
json_response 200, fixture(params[:api_version], "discounts/discount_codes/batch_discount_codes_index")
|
59
|
+
end
|
60
|
+
|
61
|
+
get "/admin/api/:api_version/price_rules/:price_rule_id/batch/:batch_id.json" do
|
62
|
+
json_response 200, fixture(params[:api_version], "discounts/discount_codes/batch_create")
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
module FakeShopify
|
2
|
+
class StubApp < Sinatra::Base
|
3
|
+
# Event API Endpoints
|
4
|
+
get "/admin/api/:api_version/events.json" do
|
5
|
+
json_response 200, fixture(params[:api_version], "events/events/index")
|
6
|
+
end
|
7
|
+
# Retrieves a list of events
|
8
|
+
get "/admin/api/:api_version/events/count.json" do
|
9
|
+
json_response 200, fixture(params[:api_version], "events/events/count")
|
10
|
+
end
|
11
|
+
# Retrieves a count of events
|
12
|
+
get "/admin/api/:api_version/events/:event_id.json" do
|
13
|
+
json_response 200, fixture(params[:api_version], "events/events/show")
|
14
|
+
end
|
15
|
+
# Retrieves a single event
|
16
|
+
|
17
|
+
# Webhook API Endpoints
|
18
|
+
get "/admin/api/:api_version/webhooks.json" do
|
19
|
+
json_response 200, fixture(params[:api_version], "events/webhooks/index")
|
20
|
+
end
|
21
|
+
# Receive a list of all Webhooks
|
22
|
+
get "/admin/api/:api_version/webhooks/count.json" do
|
23
|
+
json_response 200, fixture(params[:api_version], "events/webhooks/count")
|
24
|
+
end
|
25
|
+
# Receive a count of all Webhooks
|
26
|
+
get "/admin/api/:api_version/webhooks/:webhook_id.json" do
|
27
|
+
json_response 200, fixture(params[:api_version], "events/webhooks/show")
|
28
|
+
end
|
29
|
+
# Receive a single Webhook
|
30
|
+
post "/admin/api/:api_version/webhooks.json" do
|
31
|
+
json_response 200, fixture(params[:api_version], "events/webhooks/create")
|
32
|
+
end
|
33
|
+
# Create a new Webhook
|
34
|
+
put "/admin/api/:api_version/webhooks/:webhook_id.json" do
|
35
|
+
json_response 200, fixture(params[:api_version], "events/webhooks/update")
|
36
|
+
end
|
37
|
+
# Modify an existing Webhook
|
38
|
+
delete "/admin/api/:api_version/webhooks/:webhook_id.json" do
|
39
|
+
json_response 200, fixture(params[:api_version], "events/webhooks/destroy")
|
40
|
+
end
|
41
|
+
# Remove an existing Webhook
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
module FakeShopify
|
2
|
+
class StubApp < Sinatra::Base
|
3
|
+
# InventoryLevel API Endpoints
|
4
|
+
get "/admin/api/:api_version/inventory_levels.json" do
|
5
|
+
json_response 200, fixture(params[:api_version], "inventory/inventory_levels/index")
|
6
|
+
end
|
7
|
+
# Retrieves a list of inventory levels
|
8
|
+
post "/admin/api/:api_version/inventory_levels/adjust.json" do
|
9
|
+
json_response 200, fixture(params[:api_version], "inventory/inventory_levels/adjust")
|
10
|
+
end
|
11
|
+
# Adjusts the inventory level of an inventory item at a location
|
12
|
+
delete "/admin/api/:api_version/inventory_levels.json" do
|
13
|
+
json_response 200, fixture(params[:api_version], "inventory/inventory_levels/destroy")
|
14
|
+
end
|
15
|
+
# deletes an inventory level from a location
|
16
|
+
post "/admin/api/:api_version/inventory_levels/connect.json" do
|
17
|
+
json_response 200, fixture(params[:api_version], "inventory/inventory_levels/connect")
|
18
|
+
end
|
19
|
+
# Connects an inventory item to a location
|
20
|
+
post "/admin/api/:api_version/inventory_levels/set.json" do
|
21
|
+
json_response 200, fixture(params[:api_version], "inventory/inventory_levels/set")
|
22
|
+
end
|
23
|
+
# Sets the inventory level for an inventory item at a location
|
24
|
+
|
25
|
+
# Location API Endpoints
|
26
|
+
get "/admin/api/:api_version/locations.json" do
|
27
|
+
json_response 200, fixture(params[:api_version], "inventory/locations/index")
|
28
|
+
end
|
29
|
+
# Retrieves a list of locations
|
30
|
+
get "/admin/api/:api_version/locations/count.json" do
|
31
|
+
json_response 200, fixture(params[:api_version], "inventory/locations/count")
|
32
|
+
end
|
33
|
+
# Retrieves a count of locations
|
34
|
+
get "/admin/api/:api_version/locations/:location_id.json" do
|
35
|
+
json_response 200, fixture(params[:api_version], "inventory/locations/show")
|
36
|
+
end
|
37
|
+
# Retrieves a single location by its ID
|
38
|
+
get "/admin/api/:api_version/locations/:location_id/inventory_levels.json" do
|
39
|
+
json_response 200, fixture(params[:api_version], "inventory/locations/inventory_levels")
|
40
|
+
end
|
41
|
+
# Retrieves a list of inventory levels for a location
|
42
|
+
|
43
|
+
# InventoryItem API Endpoints
|
44
|
+
get "/admin/api/:api_version/inventory_items.json" do
|
45
|
+
json_response 200, fixture(params[:api_version], "inventory/inventory_items/index")
|
46
|
+
end
|
47
|
+
# Retrieves a list of inventory items
|
48
|
+
get "/admin/api/:api_version/inventory_items/:inventory_item_id.json" do
|
49
|
+
json_response 200, fixture(params[:api_version], "inventory/inventory_items/show")
|
50
|
+
end
|
51
|
+
# Retrieves a single inventory item by ID
|
52
|
+
put "/admin/api/:api_version/inventory_items/:inventory_item_id.json" do
|
53
|
+
json_response 200, fixture(params[:api_version], "inventory/inventory_items/update")
|
54
|
+
end
|
55
|
+
# Updates an existing inventory item
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
module FakeShopify
|
2
|
+
class StubApp < Sinatra::Base
|
3
|
+
# MarketingEvent API Endpoints
|
4
|
+
get "/admin/api/:api_version/marketing_events.json" do
|
5
|
+
json_response 200, fixture(params[:api_version], "marketing_event/marketing_events/index")
|
6
|
+
end
|
7
|
+
# Retrieves a list of all marketing events
|
8
|
+
get "/admin/api/:api_version/marketing_events/count.json" do
|
9
|
+
json_response 200, fixture(params[:api_version], "marketing_event/marketing_events/count")
|
10
|
+
end
|
11
|
+
# Retrieves a count of all marketing events
|
12
|
+
get "/admin/api/:api_version/marketing_events/:marketing_event_id.json" do
|
13
|
+
json_response 200, fixture(params[:api_version], "marketing_event/marketing_events/show")
|
14
|
+
end
|
15
|
+
# Retrieves a single marketing event
|
16
|
+
post "/admin/api/:api_version/marketing_events.json" do
|
17
|
+
json_response 200, fixture(params[:api_version], "marketing_event/marketing_events/create")
|
18
|
+
end
|
19
|
+
# Creates a marketing event
|
20
|
+
put "/admin/api/:api_version/marketing_events/:marketing_event_id.json" do
|
21
|
+
json_response 200, fixture(params[:api_version], "marketing_event/marketing_events/update")
|
22
|
+
end
|
23
|
+
# Updates a marketing event
|
24
|
+
delete "/admin/api/:api_version/marketing_events/:marketing_event_id.json" do
|
25
|
+
json_response 200, fixture(params[:api_version], "marketing_event/marketing_events/destroy")
|
26
|
+
end
|
27
|
+
# Deletes a marketing event
|
28
|
+
post "/admin/api/:api_version/marketing_events/:marketing_event_id/engagements.json" do
|
29
|
+
json_response 200, fixture(params[:api_version], "marketing_event/marketing_events/engagements")
|
30
|
+
end
|
31
|
+
# Creates marketing engagements on a marketing event
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module FakeShopify
|
2
|
+
class StubApp < Sinatra::Base
|
3
|
+
# Metafield API Endpoints
|
4
|
+
get "/admin/api/:api_version/metafields.json" do
|
5
|
+
json_response 200, fixture(params[:api_version], "metafield/metafields/index")
|
6
|
+
end
|
7
|
+
# Retrieves a list of metafields that belong to a Product Image resource
|
8
|
+
get "/admin/api/:api_version/metafields/count.json" do
|
9
|
+
json_response 200, fixture(params[:api_version], "metafield/metafields/count")
|
10
|
+
end
|
11
|
+
# Retrieves a count of a resource"s metafields
|
12
|
+
get "/admin/api/:api_version/metafields/:metafield_id.json" do
|
13
|
+
json_response 200, fixture(params[:api_version], "metafield/metafields/show")
|
14
|
+
end
|
15
|
+
# Retrieves a single metafield from a resource by its ID
|
16
|
+
post "/admin/api/:api_version/metafields.json" do
|
17
|
+
json_response 200, fixture(params[:api_version], "metafield/metafields/create")
|
18
|
+
end
|
19
|
+
# Creates a new metafield for a resource
|
20
|
+
put "/admin/api/:api_version/metafields/:metafield_id.json" do
|
21
|
+
json_response 200, fixture(params[:api_version], "metafield/metafields/update")
|
22
|
+
end
|
23
|
+
# Updates a metafield
|
24
|
+
delete "/admin/api/:api_version/metafields/:metafield_id.json" do
|
25
|
+
json_response 200, fixture(params[:api_version], "metafield/metafields/destroy")
|
26
|
+
end
|
27
|
+
# Deletes a metafield by its ID
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,226 @@
|
|
1
|
+
module FakeShopify
|
2
|
+
class StubApp < Sinatra::Base
|
3
|
+
# Comment API Endpoints
|
4
|
+
get "/admin/api/:api_version/comments.json" do
|
5
|
+
json_response 200, fixture(params[:api_version], "online_store/comments/index")
|
6
|
+
end
|
7
|
+
# Retrieves a list of comments
|
8
|
+
get "/admin/api/:api_version/comments/count.json" do
|
9
|
+
json_response 200, fixture(params[:api_version], "online_store/comments/count")
|
10
|
+
end
|
11
|
+
# Retrieves a count of comments
|
12
|
+
get "/admin/api/:api_version/comments/:comment_id.json" do
|
13
|
+
json_response 200, fixture(params[:api_version], "online_store/comments/show")
|
14
|
+
end
|
15
|
+
# Retrieves a single comment by its ID
|
16
|
+
post "/admin/api/:api_version/comments.json" do
|
17
|
+
json_response 200, fixture(params[:api_version], "online_store/comments/create")
|
18
|
+
end
|
19
|
+
# Creates a comment for an article
|
20
|
+
put "/admin/api/:api_version/comments/:comment_id.json" do
|
21
|
+
json_response 200, fixture(params[:api_version], "online_store/comments/update")
|
22
|
+
end
|
23
|
+
# Updates a comment of an article
|
24
|
+
post "/admin/api/:api_version/comments/:comment_id/spam.json" do
|
25
|
+
json_response 200, fixture(params[:api_version], "online_store/comments/spam")
|
26
|
+
end
|
27
|
+
# Marks a comment as spam
|
28
|
+
post "/admin/api/:api_version/comments/:comment_id/not_spam.json" do
|
29
|
+
json_response 200, fixture(params[:api_version], "online_store/comments/not_spam")
|
30
|
+
end
|
31
|
+
# Marks a comment as not spam
|
32
|
+
post "/admin/api/:api_version/comments/:comment_id/approve.json" do
|
33
|
+
json_response 200, fixture(params[:api_version], "online_store/comments/approve")
|
34
|
+
end
|
35
|
+
# Approves a comment
|
36
|
+
post "/admin/api/:api_version/comments/:comment_id/remove.json" do
|
37
|
+
json_response 200, fixture(params[:api_version], "online_store/comments/remove")
|
38
|
+
end
|
39
|
+
# Removes a comment
|
40
|
+
post "/admin/api/:api_version/comments/:comment_id/restore.json" do
|
41
|
+
json_response 200, fixture(params[:api_version], "online_store/comments/restore")
|
42
|
+
end
|
43
|
+
# Restores a previously removed comment
|
44
|
+
|
45
|
+
# Page API Endpoints
|
46
|
+
get "/admin/api/:api_version/pages.json" do
|
47
|
+
json_response 200, fixture(params[:api_version], "online_store/pages/index")
|
48
|
+
end
|
49
|
+
# Retrieves a list of pages
|
50
|
+
get "/admin/api/:api_version/pages/count.json" do
|
51
|
+
json_response 200, fixture(params[:api_version], "online_store/pages/count")
|
52
|
+
end
|
53
|
+
# Retrieves a page count
|
54
|
+
get "/admin/api/:api_version/pages/:page_id.json" do
|
55
|
+
json_response 200, fixture(params[:api_version], "online_store/pages/show")
|
56
|
+
end
|
57
|
+
# Retrieves a single page by its ID
|
58
|
+
post "/admin/api/:api_version/pages.json" do
|
59
|
+
json_response 200, fixture(params[:api_version], "online_store/pages/create")
|
60
|
+
end
|
61
|
+
# Create a new Page
|
62
|
+
put "/admin/api/:api_version/pages/:page_id.json" do
|
63
|
+
json_response 200, fixture(params[:api_version], "online_store/pages/update")
|
64
|
+
end
|
65
|
+
# Updates a page
|
66
|
+
delete "/admin/api/:api_version/pages/:page_id.json" do
|
67
|
+
json_response 200, fixture(params[:api_version], "online_store/pages/destroy")
|
68
|
+
end
|
69
|
+
# deletes a page
|
70
|
+
|
71
|
+
# ScriptTag API Endpoints
|
72
|
+
get "/admin/api/:api_version/script_tags.json" do
|
73
|
+
json_response 200, fixture(params[:api_version], "online_store/script_tags/index")
|
74
|
+
end
|
75
|
+
# Retrieves a list of all script tags
|
76
|
+
get "/admin/api/:api_version/script_tags/count.json" do
|
77
|
+
json_response 200, fixture(params[:api_version], "online_store/script_tags/count")
|
78
|
+
end
|
79
|
+
# Retrieves a count of all script tags
|
80
|
+
get "/admin/api/:api_version/script_tags/:script_tag_id.json" do
|
81
|
+
json_response 200, fixture(params[:api_version], "online_store/script_tags/show")
|
82
|
+
end
|
83
|
+
# Retrieves a single script tag
|
84
|
+
post "/admin/api/:api_version/script_tags.json" do
|
85
|
+
json_response 200, fixture(params[:api_version], "online_store/script_tags/create")
|
86
|
+
end
|
87
|
+
# Creates a new script tag
|
88
|
+
put "/admin/api/:api_version/script_tags/:script_tag_id.json" do
|
89
|
+
json_response 200, fixture(params[:api_version], "online_store/script_tags/update")
|
90
|
+
end
|
91
|
+
# Updates a script tag
|
92
|
+
delete "/admin/api/:api_version/script_tags/:script_tag_id.json" do
|
93
|
+
json_response 200, fixture(params[:api_version], "online_store/script_tags/destroy")
|
94
|
+
end
|
95
|
+
# deletes a script tag
|
96
|
+
|
97
|
+
# Redirect API Endpoints
|
98
|
+
get "/admin/api/:api_version/redirects.json" do
|
99
|
+
json_response 200, fixture(params[:api_version], "online_store/redirects/index")
|
100
|
+
end
|
101
|
+
# Retrieves a list of URL redirects
|
102
|
+
get "/admin/api/:api_version/redirects/count.json" do
|
103
|
+
json_response 200, fixture(params[:api_version], "online_store/redirects/count")
|
104
|
+
end
|
105
|
+
# Retrieves a count of URL redirects
|
106
|
+
get "/admin/api/:api_version/redirects/:redirect_id.json" do
|
107
|
+
json_response 200, fixture(params[:api_version], "online_store/redirects/show")
|
108
|
+
end
|
109
|
+
# Retrieves a single redirect
|
110
|
+
post "/admin/api/:api_version/redirects.json" do
|
111
|
+
json_response 200, fixture(params[:api_version], "online_store/redirects/create")
|
112
|
+
end
|
113
|
+
# Creates a redirect
|
114
|
+
put "/admin/api/:api_version/redirects/:redirect_id.json" do
|
115
|
+
json_response 200, fixture(params[:api_version], "online_store/redirects/update")
|
116
|
+
end
|
117
|
+
# Updates an existing redirect
|
118
|
+
delete "/admin/api/:api_version/redirects/:redirect_id.json" do
|
119
|
+
json_response 200, fixture(params[:api_version], "online_store/redirects/destroy")
|
120
|
+
end
|
121
|
+
# deletes a redirect
|
122
|
+
|
123
|
+
# Blog API Endpoints
|
124
|
+
get "/admin/api/:api_version/blogs.json" do
|
125
|
+
json_response 200, fixture(params[:api_version], "online_store/blogs/index")
|
126
|
+
end
|
127
|
+
# Retrieve a list of all blogs
|
128
|
+
get "/admin/api/:api_version/blogs/count.json" do
|
129
|
+
json_response 200, fixture(params[:api_version], "online_store/blogs/count")
|
130
|
+
end
|
131
|
+
# Receive a count of all Blogs
|
132
|
+
get "/admin/api/:api_version/blogs/:blog_id.json" do
|
133
|
+
json_response 200, fixture(params[:api_version], "online_store/blogs/show")
|
134
|
+
end
|
135
|
+
# Receive a single Blog
|
136
|
+
post "/admin/api/:api_version/blogs.json" do
|
137
|
+
json_response 200, fixture(params[:api_version], "online_store/blogs/create")
|
138
|
+
end
|
139
|
+
# Create a new Blog
|
140
|
+
put "/admin/api/:api_version/blogs/:blog_id.json" do
|
141
|
+
json_response 200, fixture(params[:api_version], "online_store/blogs/update")
|
142
|
+
end
|
143
|
+
# Modify an existing Blog
|
144
|
+
delete "/admin/api/:api_version/blogs/:blog_id.json" do
|
145
|
+
json_response 200, fixture(params[:api_version], "online_store/blogs/destroy")
|
146
|
+
end
|
147
|
+
# Remove an existing Blog
|
148
|
+
|
149
|
+
# Asset API Endpoints
|
150
|
+
get "/admin/api/:api_version/themes/:theme_id/assets.json" do
|
151
|
+
json_response 200, fixture(params[:api_version], "online_store/assets/index")
|
152
|
+
end
|
153
|
+
# Retrieves a list of assets for a theme
|
154
|
+
|
155
|
+
# TODO: Add this route back in
|
156
|
+
# Retrieves a single asset for a theme
|
157
|
+
# get "/admin/api/:api_version/themes/:theme_id/assets.json?asset[key]=templates/index.liquid" do
|
158
|
+
# json_response 200, fixture(params[:api_version], "online_store/assets/show")
|
159
|
+
# end
|
160
|
+
|
161
|
+
put "/admin/api/:api_version/themes/:theme_id/assets.json" do
|
162
|
+
json_response 200, fixture(params[:api_version], "online_store/assets/update")
|
163
|
+
end
|
164
|
+
# Creates or updates an asset for a theme
|
165
|
+
delete "/admin/api/:api_version/themes/:theme_id/assets.json" do
|
166
|
+
json_response 200, fixture(params[:api_version], "online_store/assets/destroy")
|
167
|
+
end
|
168
|
+
# deletes an asset from a theme
|
169
|
+
|
170
|
+
# Theme API Endpoints
|
171
|
+
get "/admin/api/:api_version/themes.json" do
|
172
|
+
json_response 200, fixture(params[:api_version], "online_store/themes/index")
|
173
|
+
end
|
174
|
+
# Retrieves a list of themes
|
175
|
+
get "/admin/api/:api_version/themes/:theme_id.json" do
|
176
|
+
json_response 200, fixture(params[:api_version], "online_store/themes/show")
|
177
|
+
end
|
178
|
+
# Retrieves a single theme
|
179
|
+
post "/admin/api/:api_version/themes.json" do
|
180
|
+
json_response 200, fixture(params[:api_version], "online_store/themes/create")
|
181
|
+
end
|
182
|
+
# Creates a theme
|
183
|
+
put "/admin/api/:api_version/themes/:theme_id.json" do
|
184
|
+
json_response 200, fixture(params[:api_version], "online_store/themes/update")
|
185
|
+
end
|
186
|
+
# Modify an existing Theme
|
187
|
+
delete "/admin/api/:api_version/themes/:theme_id.json" do
|
188
|
+
json_response 200, fixture(params[:api_version], "online_store/themes/destroy")
|
189
|
+
end
|
190
|
+
# Remove an existing Theme
|
191
|
+
|
192
|
+
# Article API Endpoints
|
193
|
+
get "/admin/api/:api_version/blogs/:blog_id/articles.json" do
|
194
|
+
json_response 200, fixture(params[:api_version], "online_store/articles/index")
|
195
|
+
end
|
196
|
+
# Retrieves a list of all articles from a blog
|
197
|
+
get "/admin/api/:api_version/blogs/:blog_id/articles/count.json" do
|
198
|
+
json_response 200, fixture(params[:api_version], "online_store/articles/count")
|
199
|
+
end
|
200
|
+
# Retrieves a count of all articles from a blog
|
201
|
+
get "/admin/api/:api_version/blogs/:blog_id/articles/:article_id.json" do
|
202
|
+
json_response 200, fixture(params[:api_version], "online_store/articles/show")
|
203
|
+
end
|
204
|
+
# Receive a single Article
|
205
|
+
post "/admin/api/:api_version/blogs/:blog_id/articles.json" do
|
206
|
+
json_response 200, fixture(params[:api_version], "online_store/articles/create")
|
207
|
+
end
|
208
|
+
# Creates an article for a blog
|
209
|
+
put "/admin/api/:api_version/blogs/:blog_id/articles/:article_id.json" do
|
210
|
+
json_response 200, fixture(params[:api_version], "online_store/articles/update")
|
211
|
+
end
|
212
|
+
# Updates an article
|
213
|
+
get "/admin/api/:api_version/articles/authors.json" do
|
214
|
+
json_response 200, fixture(params[:api_version], "online_store/articles/authors")
|
215
|
+
end
|
216
|
+
# Retrieves a list of all article authors
|
217
|
+
get "/admin/api/:api_version/articles/tags.json" do
|
218
|
+
json_response 200, fixture(params[:api_version], "online_store/articles/tags")
|
219
|
+
end
|
220
|
+
# Retrieves a list of all article tags
|
221
|
+
delete "/admin/api/:api_version/blogs/:blog_id/articles/:article_id.json" do
|
222
|
+
json_response 200, fixture(params[:api_version], "online_store/articles/destroy")
|
223
|
+
end
|
224
|
+
# deletes an article
|
225
|
+
end
|
226
|
+
end
|