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

Posting array data #7

Open
davidkeatscroft opened this issue Oct 20, 2015 · 1 comment
Open

Posting array data #7

davidkeatscroft opened this issue Oct 20, 2015 · 1 comment

Comments

@davidkeatscroft
Copy link

Whilst testing using PostMan, we're trying to post values to an array stored in custom meta using the following:

{
"product": {
"custom_meta" : {
"_price_custom": {
"price": "20",
"break": "5",
"break_price": "15"
}
}
}
}

Unfortunately it's not playing ball - I know you mention that the structure is currently defined, but is there a way of still doing this?

Thanks

@judgej
Copy link
Owner

judgej commented Oct 21, 2015

I should be getting back to this in a few weeks, and can look at this then. In the meantime, you may just have to serialise the array at one end and unserialise it at the other end (using json_encode/json_decode).

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

2 participants