curl --request POST \
--url http://localhost/api/v3/transactions/batch.json \
--header 'Content-Type: application/json' \
--data '
{
"transactions": [
{
"total": 123,
"transacted_at": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"items": [
{
"name": "<string>",
"price_current": 123,
"price_sell": 123,
"external_id": "<string>",
"price_original": 123,
"price_margin": 123,
"discounts": [
"<string>"
],
"sku": "<string>",
"department": "<string>",
"meta": [
"<string>"
],
"variant_external_id": "<string>",
"product_variant_sku": "<string>",
"product_variant_id": 123,
"product_variant": {
"product_id": "<string>",
"sku": "<string>",
"title": "<string>",
"category": "<string>",
"subcategory": "<string>",
"brand": "<string>",
"price": 123
}
}
],
"id": 123,
"external_id": "<string>",
"profile_id": "<string>",
"profile_id_handle": "<string>",
"redemption_id": 123,
"location_id": "<string>",
"currency": "<string>",
"total_original": 123,
"rounding": 123,
"tender": "<string>",
"is_void": true,
"margin": 123,
"meta": [
"<string>"
],
"tags": [
"<string>"
],
"systems": [
"<string>"
],
"staff_id": "<string>",
"payments": [
"<string>"
],
"receipt_is_email": true,
"receipt_ref": "<string>",
"linked_receipt_ref": "<string>",
"receipt_email": "jsmith@example.com",
"type": "<string>",
"status": "<string>",
"order_number": "<string>",
"order_id": 123,
"external_order_id": "<string>",
"need_action": true,
"custom_fields": [
{
"namespace": "<string>",
"handle": "<string>",
"type": "string",
"value": "<string>"
}
],
"currency_value": {
"from": "<string>",
"to": "<string>",
"rate": 123
}
}
],
"items": [
{
"quantity": 123
}
],
"import_job_id": "<string>"
}
'{
"message": "<string>",
"batch_id": "<string>"
}A POST to the /transactions/batch.json endpoint allows your application to process transactions in batch.
curl --request POST \
--url http://localhost/api/v3/transactions/batch.json \
--header 'Content-Type: application/json' \
--data '
{
"transactions": [
{
"total": 123,
"transacted_at": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"items": [
{
"name": "<string>",
"price_current": 123,
"price_sell": 123,
"external_id": "<string>",
"price_original": 123,
"price_margin": 123,
"discounts": [
"<string>"
],
"sku": "<string>",
"department": "<string>",
"meta": [
"<string>"
],
"variant_external_id": "<string>",
"product_variant_sku": "<string>",
"product_variant_id": 123,
"product_variant": {
"product_id": "<string>",
"sku": "<string>",
"title": "<string>",
"category": "<string>",
"subcategory": "<string>",
"brand": "<string>",
"price": 123
}
}
],
"id": 123,
"external_id": "<string>",
"profile_id": "<string>",
"profile_id_handle": "<string>",
"redemption_id": 123,
"location_id": "<string>",
"currency": "<string>",
"total_original": 123,
"rounding": 123,
"tender": "<string>",
"is_void": true,
"margin": 123,
"meta": [
"<string>"
],
"tags": [
"<string>"
],
"systems": [
"<string>"
],
"staff_id": "<string>",
"payments": [
"<string>"
],
"receipt_is_email": true,
"receipt_ref": "<string>",
"linked_receipt_ref": "<string>",
"receipt_email": "jsmith@example.com",
"type": "<string>",
"status": "<string>",
"order_number": "<string>",
"order_id": 123,
"external_order_id": "<string>",
"need_action": true,
"custom_fields": [
{
"namespace": "<string>",
"handle": "<string>",
"type": "string",
"value": "<string>"
}
],
"currency_value": {
"from": "<string>",
"to": "<string>",
"rate": 123
}
}
],
"items": [
{
"quantity": 123
}
],
"import_job_id": "<string>"
}
'{
"message": "<string>",
"batch_id": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.omneo.io/llms.txt
Use this file to discover all available pages before exploring further.