Skip to content

Not able to create product. #173

@mahesh-rajawat

Description

@mahesh-rajawat

I am trying to create a product in akeneo using the below params.

$this->client->getProductApi()->create( 'wk_24_mb01', [ 'enabled' => true, 'family' => 'bag', 'categories' => [], 'groups' => [], 'parent'=> null, 'values' => [ 'product_name' => [ [ 'data' => 'top', 'locale' => 'en_US', 'scope' => null, ] ], 'price' => [ [ 'data' => [ [ 'amount' => '15.5', 'currency' => 'EUR', ], [ 'amount' => '15', 'currency' => 'USD', ], ], 'locale' => null, 'scope' => null, ], ] ] ] );

It returning validation failed error.
Please suggest me.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions