Closed davidlashlee closed 7 years ago
@davidlashlee Thanks for noting the issues in the documentation, they've now been fixed.
type
is a required field as per the JSON:API spec. However the library can do a better job at including this in the payload rather than being included in the body object by the user. We'll look to address this.
Hey in the products wiki page
Didn't work for me with the following errors
ended up resolving it with
"includex_tax" should be "includes_tax" and Moltin.Products.Create argument object is missing type and commodity_type.
also, why is "type" a required parameter to provide? based on my understanding of the documentation, its required to be `type: 'product', and that's your only option. Am I misunderstanding that?