Last active
June 2, 2022 14:03
-
-
Save ikraamg/5c617ab3a4771041491c658c0192fb4e to your computer and use it in GitHub Desktop.
Bundle requests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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