Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing an array with and array in it to post() #3

Open
emerika opened this issue Aug 25, 2015 · 2 comments
Open

Passing an array with and array in it to post() #3

emerika opened this issue Aug 25, 2015 · 2 comments

Comments

@emerika
Copy link

emerika commented Aug 25, 2015

I'm trying to create add a new product to my store:

PUT /v1/user/sites/SITE_ID/store/products/PRODUCT_ID
Updates an existing product.

Required: name
Required: skus**

**skus should be an array of product skus. See Product Sku below for more details. price and product_type are required.


If I just embed an array inside the array of parameters do you expect that will work?

I'm getting this error: [message] => One or more skus are invalid.

If you can explain what needs to be done I'll make the changes test and give it back.

@rchen1992
Copy link

We apologize for the late response. As this issue is related to the Weebly API rather than the PHP client itself, we would prefer if you emailed these kinds of questions to [email protected]. We will be happy to help you there!

@bdeanindy
Copy link

@emerika was this issue resolved please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants