Skip to content

Instantly share code, notes, and snippets.

@ikraamg
Last active June 2, 2022 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ikraamg/5c617ab3a4771041491c658c0192fb4e to your computer and use it in GitHub Desktop.
Save ikraamg/5c617ab3a4771041491c658c0192fb4e to your computer and use it in GitHub Desktop.
Bundle requests
{
"sku": "bundle-variant-1",
"quantity": 1,
"options": {
"parts": [
{
"sku": "normal-variant-1",
"quantity": 4
},
{
"sku": "normal-variant-2",
"quantity": 3
}
]
}
}
// OR
{
"sku": "bundle-variant-1",
"quantity": 1,
"bundle": [
{
"sku": "normal-variant-1",
"quantity": 4
},
{
"sku": "normal-variant-2",
"quantity": 3
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment