PrestaShop / PrestaShop/docs

WebServices API for create products with a mix of attributes

Open
#404 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
136
Forks
555
Avg merge
4d 14h
Merged PRs (30d)
4

Description

Hello,

I'm trying to create product with multiple attributes with the API.
I use this library :
https://github.com/PrestaShop/PrestaShop-webservice-lib

It's OK for a simple product, but is there a documentation or an advised method for create a product with by example a mix of 2 colors and 2 sizes ?

I think there is two solution : create all variations in one time or make a special part in the code for each variation (4 in my case, 2 colors and 2 sizes)

I've check in the official doc here without success, there is no details : https://devdocs.prestashop.com/1.7/development/webservice/tutorials/prestashop-webservice-lib/

Please, maybe someone have a idea ?

++

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the PrestaShop-webservice-lib repository and the linked Webservice tutorial first, focusing on how product attributes and combinations are represented. Done means adding documentation that clearly explains the advised method for creating a product with multiple colors and sizes, with a concrete example if the existing material supports one.

Written by the indexing model from the issue text.

Assessment

Domain
api, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.