shopify icon indicating copy to clipboard operation
shopify copied to clipboard

Add missing resources

Open Ninigi opened this issue 6 years ago β€’ 9 comments

There are still some resources missing according to this list.

Since most of them follow the same pattern, I think this is a good first issue.

EDIT: Here is a list of resources I think we are missing. This might be incomplete or accidentally list a resource we already have under a different name, so before diving in please make sure I did not make a mistake first πŸ™‡

  • [x] AbandonedCheckout (just realized this is the same as Checkout
  • [x] Fulfillment :exclamation:
  • [x] FulfillmentEvent
  • [x] FulfillmentService
  • [ ] GiftCard (Shopify PLUS only!) :zzz:
  • [x] InventoryItem
  • [x] InventoryLevel
  • [x] Location :exclamation:
  • [x] MarketingEvent
  • [x] Multipass (SHOPIFY PLUS only!) :zzz:
  • [x] OrderRisk
  • [x] Page
  • [x] Policy
  • [x] ProductListing
  • [x] Refund
  • [x] Report

Ninigi avatar Mar 20 '18 02:03 Ninigi

Any other resources missing that you need help with?

humancopy avatar Apr 26 '18 08:04 humancopy

@humancopy quite a few iirc... From the top of my head I can think about Fulfillment, because I was really surprised that one wasn't already in there. I am planing to put some work into missing resources next week (golden week, yay 🏌️ ), I guess my first step will be to compile a list of missing resources.

Ninigi avatar Apr 27 '18 04:04 Ninigi

@humancopy I made a list πŸ₯‡

Ninigi avatar May 02 '18 05:05 Ninigi

Oh wow I see you went through most of them already! Well done! πŸ˜„

So the Shopify Plus ones you don't want to implement for now?

humancopy avatar May 08 '18 21:05 humancopy

@humancopy I don't have a Shopify gold store, so I wouldn't be able to actually test it nor would I be using it, so I'd like to leave it to someone else to actually implement those :)

Ninigi avatar May 09 '18 06:05 Ninigi

is there anything missing from adding the create method on the checkout resource?

antonioparisi avatar Oct 05 '18 12:10 antonioparisi

@antonioparisi not that I am aware of. Why? Is something missing?

Edit: sorry I am on mobile, I can’t check right now. If the create function is missing, could you maybe add it and create a PR?

Ninigi avatar Oct 05 '18 12:10 Ninigi

@Ninigi I think the checkout resource is missing the create. https://github.com/nsweeting/shopify/blob/master/lib/shopify/resources/checkout.ex#L9

as you can see from the Shopify API docs: https://help.shopify.com/en/api/reference/sales_channels/checkout#create

antonioparisi avatar Oct 05 '18 13:10 antonioparisi

@Ninigi also the update one is missing for the checkout resource

antonioparisi avatar Oct 05 '18 13:10 antonioparisi