summaryrefslogtreecommitdiff
path: root/interchange
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-05-17 14:06:32 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-05-17 14:06:32 +0800
commit1e88f321279b60816a0fe3c78b9ac53facdd4203 (patch)
tree7d6e0034d20227b43fb8551b44a3240b94f6826f /interchange
parent7270c84fe616357da17baca20437ef1113bb87eb (diff)
order takes custom options params
Diffstat (limited to 'interchange')
-rw-r--r--interchange/ord.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/interchange/ord.h b/interchange/ord.h
index e31006e..56bd648 100644
--- a/interchange/ord.h
+++ b/interchange/ord.h
@@ -33,10 +33,11 @@ extern "C" {
* \param sku The product or variant SKU of the item to order.
* \param item The product SKU of the item to order.
* \param quantity The quantity of the item to order.
+ * \param options Any additional pairs of custom options.
* \param parser Function for parsing the formatted response.
*/
void interchange_ord_order(const char *sku, const char *item,
- const unsigned int quantity,
+ const unsigned int quantity, const char *options[][2],
void (*parser)(interchange_response *));
/*!