Skip to content

Trouble with API endpoint: Creates a product #3983

Discussion options

You must be logged in to vote

Can you please try with:

--data '{"product": {"name":"Eraseme_2","description":"To be erased.","permalink":null,"meta_description":"","meta_keywords":"","price":"1000.0","sku":"ERS000001", "deleted_at":null,"option_values_hash":null,"weight":"0.0","height":null,"width":null,"depth":null,"shipping_category_id":1}}'

I usually look at specs files when something seems off in the API documentation. Not showing the correct body in the example requests is definitely something we should take a look at soon (any help is welcome).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@TrustworthySystems
Comment options

@kennyadsl
Comment options

@kennyadsl
Comment options

Answer selected by TrustworthySystems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants