pulling order IDs via REST API in magento 2.0Factory Class vs. Proxy Class in magento2Retrieving Layered Navigation / Category Filters via REST API / Outside Magento 1.9?When creating an order via the Magento2 Rest V1 API, can I disable customer emails?Add order pragmatically REST APIREST Api product creation with global attributesUnable to get order details using magento 2 rest apiMagento Full Text Search through APIKnowing “simple” products are related via REST APICreate attributes via rest APIDetect order status change on DB and send email [Magento 2]

Using Past-Perfect interchangeably with the Past Continuous

What are substitutions for coconut in curry?

Practical application of matrices and determinants

Do native speakers use "ultima" and "proxima" frequently in spoken English?

How can I wire 7 outdoor posts correctly?

Variable completely messes up echoed string

Maths symbols and unicode-math input inside siunitx commands

How to terminate ping <dest> &

Can you move over difficult terrain with only 5' of movement?

How does one measure the Fourier components of a signal?

Print a physical multiplication table

What is the term when voters “dishonestly” choose something that they do not want to choose?

What is the relationship between relativity and the Doppler effect?

Does the attack bonus from a Masterwork weapon stack with the attack bonus from Masterwork ammunition?

If "dar" means "to give", what does "daros" mean?

Does .bashrc contain syntax errors?

Can other pieces capture a threatening piece and prevent a checkmate?

Print last inputted byte

I got the following comment from a reputed math journal. What does it mean?

Generic TVP tradeoffs?

Worshiping one God at a time?

Bash - pair each line of file

Hausdorff dimension of the boundary of fibres of Lipschitz maps

Why is there so much iron?



pulling order IDs via REST API in magento 2.0


Factory Class vs. Proxy Class in magento2Retrieving Layered Navigation / Category Filters via REST API / Outside Magento 1.9?When creating an order via the Magento2 Rest V1 API, can I disable customer emails?Add order pragmatically REST APIREST Api product creation with global attributesUnable to get order details using magento 2 rest apiMagento Full Text Search through APIKnowing “simple” products are related via REST APICreate attributes via rest APIDetect order status change on DB and send email [Magento 2]













0















we are seeing a big dependency between the order ID that we are getting from Magento via REST and the order ID that we see in the order confirmation email. for example REST returns 45, the email has 200045646.



We implemented the increment features directly into the SQL database based on some posts here but it seems that REST APIs pull the original non incremented order ID. anyone was able to address this issue ?



We are using Magento as a backend an d talking to it via REST API










share|improve this question
















bumped to the homepage by Community 17 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • This is increment_id= 200045646, not I'd, id=45

    – user52581
    Apr 18 '17 at 8:12











  • The question is how do we pull increment_id so we can display it on the app for the user after order has been placed. and have that ID match the ID they receive in the email , which is 200045646 for example

    – Fodakty
    Apr 18 '17 at 8:18















0















we are seeing a big dependency between the order ID that we are getting from Magento via REST and the order ID that we see in the order confirmation email. for example REST returns 45, the email has 200045646.



We implemented the increment features directly into the SQL database based on some posts here but it seems that REST APIs pull the original non incremented order ID. anyone was able to address this issue ?



We are using Magento as a backend an d talking to it via REST API










share|improve this question
















bumped to the homepage by Community 17 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • This is increment_id= 200045646, not I'd, id=45

    – user52581
    Apr 18 '17 at 8:12











  • The question is how do we pull increment_id so we can display it on the app for the user after order has been placed. and have that ID match the ID they receive in the email , which is 200045646 for example

    – Fodakty
    Apr 18 '17 at 8:18













0












0








0


1






we are seeing a big dependency between the order ID that we are getting from Magento via REST and the order ID that we see in the order confirmation email. for example REST returns 45, the email has 200045646.



We implemented the increment features directly into the SQL database based on some posts here but it seems that REST APIs pull the original non incremented order ID. anyone was able to address this issue ?



We are using Magento as a backend an d talking to it via REST API










share|improve this question
















we are seeing a big dependency between the order ID that we are getting from Magento via REST and the order ID that we see in the order confirmation email. for example REST returns 45, the email has 200045646.



We implemented the increment features directly into the SQL database based on some posts here but it seems that REST APIs pull the original non incremented order ID. anyone was able to address this issue ?



We are using Magento as a backend an d talking to it via REST API







magento2 magento-2.1 api rest






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 23 '18 at 4:41









Teja Bhagavan Kollepara

3,00641948




3,00641948










asked Apr 18 '17 at 8:09









FodaktyFodakty

76212




76212





bumped to the homepage by Community 17 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 17 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • This is increment_id= 200045646, not I'd, id=45

    – user52581
    Apr 18 '17 at 8:12











  • The question is how do we pull increment_id so we can display it on the app for the user after order has been placed. and have that ID match the ID they receive in the email , which is 200045646 for example

    – Fodakty
    Apr 18 '17 at 8:18

















  • This is increment_id= 200045646, not I'd, id=45

    – user52581
    Apr 18 '17 at 8:12











  • The question is how do we pull increment_id so we can display it on the app for the user after order has been placed. and have that ID match the ID they receive in the email , which is 200045646 for example

    – Fodakty
    Apr 18 '17 at 8:18
















This is increment_id= 200045646, not I'd, id=45

– user52581
Apr 18 '17 at 8:12





This is increment_id= 200045646, not I'd, id=45

– user52581
Apr 18 '17 at 8:12













The question is how do we pull increment_id so we can display it on the app for the user after order has been placed. and have that ID match the ID they receive in the email , which is 200045646 for example

– Fodakty
Apr 18 '17 at 8:18





The question is how do we pull increment_id so we can display it on the app for the user after order has been placed. and have that ID match the ID they receive in the email , which is 200045646 for example

– Fodakty
Apr 18 '17 at 8:18










1 Answer
1






active

oldest

votes


















0














When you place an order, Magento will reserve/assign an increment_id for the order_id.



The increment_id is generated thanks to the primary autoincrement key of this table : sequence_order_1. Where 1 is the store_id.



So the increment_id and the order_id is not the same value.



The increment_id is the ID displayed for the customer.



In order to retrieve the increment_id from API, you can retrieve order information with the order_id such as :



get /V1/orders/order_id



Response format :



Usefull information here : incrementId




"adjustmentNegative": 0,
"adjustmentPositive": 0,
"appliedRuleIds": "string",
"baseAdjustmentNegative": 0,
"baseAdjustmentPositive": 0,
"baseCurrencyCode": "string",
"baseDiscountAmount": 0,
"baseDiscountCanceled": 0,
"baseDiscountInvoiced": 0,
"baseDiscountRefunded": 0,
"baseGrandTotal": 0,
"baseDiscountTaxCompensationAmount": 0,
"baseDiscountTaxCompensationInvoiced": 0,
"baseDiscountTaxCompensationRefunded": 0,
"baseShippingAmount": 0,
"baseShippingCanceled": 0,
"baseShippingDiscountAmount": 0,
"baseShippingDiscountTaxCompensationAmnt": 0,
"baseShippingInclTax": 0,
"baseShippingInvoiced": 0,
"baseShippingRefunded": 0,
"baseShippingTaxAmount": 0,
"baseShippingTaxRefunded": 0,
"baseSubtotal": 0,
"baseSubtotalCanceled": 0,
"baseSubtotalInclTax": 0,
"baseSubtotalInvoiced": 0,
"baseSubtotalRefunded": 0,
"baseTaxAmount": 0,
"baseTaxCanceled": 0,
"baseTaxInvoiced": 0,
"baseTaxRefunded": 0,
"baseTotalCanceled": 0,
"baseTotalDue": 0,
"baseTotalInvoiced": 0,
"baseTotalInvoicedCost": 0,
"baseTotalOfflineRefunded": 0,
"baseTotalOnlineRefunded": 0,
"baseTotalPaid": 0,
"baseTotalQtyOrdered": 0,
"baseTotalRefunded": 0,
"baseToGlobalRate": 0,
"baseToOrderRate": 0,
"billingAddressId": 0,
"canShipPartially": 0,
"canShipPartiallyItem": 0,
"couponCode": "string",
"createdAt": "string",
"customerDob": "string",
"customerEmail": "string",
"customerFirstname": "string",
"customerGender": 0,
"customerGroupId": 0,
"customerId": 0,
"customerIsGuest": 0,
"customerLastname": "string",
"customerMiddlename": "string",
"customerNote": "string",
"customerNoteNotify": 0,
"customerPrefix": "string",
"customerSuffix": "string",
"customerTaxvat": "string",
"discountAmount": 0,
"discountCanceled": 0,
"discountDescription": "string",
"discountInvoiced": 0,
"discountRefunded": 0,
"editIncrement": 0,
"emailSent": 0,
"entityId": 0,
"extCustomerId": "string",
"extOrderId": "string",
"forcedShipmentWithInvoice": 0,
"globalCurrencyCode": "string",
"grandTotal": 0,
"discountTaxCompensationAmount": 0,
"discountTaxCompensationInvoiced": 0,
"discountTaxCompensationRefunded": 0,
"holdBeforeState": "string",
"holdBeforeStatus": "string",
"incrementId": "string",
"isVirtual": 0,
"orderCurrencyCode": "string",
"originalIncrementId": "string",
"paymentAuthorizationAmount": 0,
"paymentAuthExpiration": 0,
"protectCode": "string",
"quoteAddressId": 0,
"quoteId": 0,
"relationChildId": "string",
"relationChildRealId": "string",
"relationParentId": "string",
"relationParentRealId": "string",
"remoteIp": "string",
"shippingAmount": 0,
"shippingCanceled": 0,
"shippingDescription": "string",
"shippingDiscountAmount": 0,
"shippingDiscountTaxCompensationAmount": 0,
"shippingInclTax": 0,
"shippingInvoiced": 0,
"shippingRefunded": 0,
"shippingTaxAmount": 0,
"shippingTaxRefunded": 0,
"state": "string",
"status": "string",
"storeCurrencyCode": "string",
"storeId": 0,
"storeName": "string",
"storeToBaseRate": 0,
"storeToOrderRate": 0,
"subtotal": 0,
"subtotalCanceled": 0,
"subtotalInclTax": 0,
"subtotalInvoiced": 0,
"subtotalRefunded": 0,
"taxAmount": 0,
"taxCanceled": 0,
"taxInvoiced": 0,
"taxRefunded": 0,
"totalCanceled": 0,
"totalDue": 0,
"totalInvoiced": 0,
"totalItemCount": 0,
"totalOfflineRefunded": 0,
"totalOnlineRefunded": 0,
"totalPaid": 0,
"totalQtyOrdered": 0,
"totalRefunded": 0,
"updatedAt": "string",
"weight": 0,
"xForwardedFor": "string",
"items": [

"additionalData": "string",
"amountRefunded": 0,
"appliedRuleIds": "string",
"baseAmountRefunded": 0,
"baseCost": 0,
"baseDiscountAmount": 0,
"baseDiscountInvoiced": 0,
"baseDiscountRefunded": 0,
"baseDiscountTaxCompensationAmount": 0,
"baseDiscountTaxCompensationInvoiced": 0,
"baseDiscountTaxCompensationRefunded": 0,
"baseOriginalPrice": 0,
"basePrice": 0,
"basePriceInclTax": 0,
"baseRowInvoiced": 0,
"baseRowTotal": 0,
"baseRowTotalInclTax": 0,
"baseTaxAmount": 0,
"baseTaxBeforeDiscount": 0,
"baseTaxInvoiced": 0,
"baseTaxRefunded": 0,
"baseWeeeTaxAppliedAmount": 0,
"baseWeeeTaxAppliedRowAmnt": 0,
"baseWeeeTaxDisposition": 0,
"baseWeeeTaxRowDisposition": 0,
"createdAt": "string",
"description": "string",
"discountAmount": 0,
"discountInvoiced": 0,
"discountPercent": 0,
"discountRefunded": 0,
"eventId": 0,
"extOrderItemId": "string",
"freeShipping": 0,
"gwBasePrice": 0,
"gwBasePriceInvoiced": 0,
"gwBasePriceRefunded": 0,
"gwBaseTaxAmount": 0,
"gwBaseTaxAmountInvoiced": 0,
"gwBaseTaxAmountRefunded": 0,
"gwId": 0,
"gwPrice": 0,
"gwPriceInvoiced": 0,
"gwPriceRefunded": 0,
"gwTaxAmount": 0,
"gwTaxAmountInvoiced": 0,
"gwTaxAmountRefunded": 0,
"discountTaxCompensationAmount": 0,
"discountTaxCompensationCanceled": 0,
"discountTaxCompensationInvoiced": 0,
"discountTaxCompensationRefunded": 0,
"isQtyDecimal": 0,
"isVirtual": 0,
"itemId": 0,
"lockedDoInvoice": 0,
"lockedDoShip": 0,
"name": "string",
"noDiscount": 0,
"orderId": 0,
"originalPrice": 0,
"parentItemId": 0,
"price": 0,
"priceInclTax": 0,
"productId": 0,
"productType": "string",
"qtyBackordered": 0,
"qtyCanceled": 0,
"qtyInvoiced": 0,
"qtyOrdered": 0,
"qtyRefunded": 0,
"qtyReturned": 0,
"qtyShipped": 0,
"quoteItemId": 0,
"rowInvoiced": 0,
"rowTotal": 0,
"rowTotalInclTax": 0,
"rowWeight": 0,
"sku": "string",
"storeId": 0,
"taxAmount": 0,
"taxBeforeDiscount": 0,
"taxCanceled": 0,
"taxInvoiced": 0,
"taxPercent": 0,
"taxRefunded": 0,
"updatedAt": "string",
"weeeTaxApplied": "string",
"weeeTaxAppliedAmount": 0,
"weeeTaxAppliedRowAmount": 0,
"weeeTaxDisposition": 0,
"weeeTaxRowDisposition": 0,
"weight": 0,
"parentItem": ,
"productOption":
"extensionAttributes":
"customOptions": [

"optionId": "string",
"optionValue": "string",
"extensionAttributes":
"fileInfo":
"base64EncodedData": "string",
"type": "string",
"name": "string"



],
"downloadableOption":
"downloadableLinks": [
0
]
,
"giftcardItemOption":
"giftcardAmount": 0,
"customGiftcardAmount": 0,
"giftcardSenderName": "string",
"giftcardRecipientName": "string",
"giftcardSenderEmail": "string",
"giftcardRecipientEmail": "string",
"giftcardMessage": "string",
"extensionAttributes":
,
"configurableItemOptions": [

"optionId": "string",
"optionValue": 0,
"extensionAttributes":

],
"bundleOptions": [

"optionId": 0,
"optionQty": 0,
"optionSelections": [
0
],
"extensionAttributes":

]

,
"extensionAttributes":
"giftMessage":
"giftMessageId": 0,
"customerId": 0,
"sender": "string",
"recipient": "string",
"message": "string",
"extensionAttributes":
"entityId": "string",
"entityType": "string",
"wrappingId": 0,
"wrappingAllowGiftReceipt": true,
"wrappingAddPrintedCard": true




],
"billingAddress":
"addressType": "string",
"city": "string",
"company": "string",
"countryId": "string",
"customerAddressId": 0,
"customerId": 0,
"email": "string",
"entityId": 0,
"fax": "string",
"firstname": "string",
"lastname": "string",
"middlename": "string",
"parentId": 0,
"postcode": "string",
"prefix": "string",
"region": "string",
"regionCode": "string",
"regionId": 0,
"street": [
"string"
],
"suffix": "string",
"telephone": "string",
"vatId": "string",
"vatIsValid": 0,
"vatRequestDate": "string",
"vatRequestId": "string",
"vatRequestSuccess": 0,
"extensionAttributes":
,
"payment":
"accountStatus": "string",
"additionalData": "string",
"additionalInformation": [
"string"
],
"addressStatus": "string",
"amountAuthorized": 0,
"amountCanceled": 0,
"amountOrdered": 0,
"amountPaid": 0,
"amountRefunded": 0,
"anetTransMethod": "string",
"baseAmountAuthorized": 0,
"baseAmountCanceled": 0,
"baseAmountOrdered": 0,
"baseAmountPaid": 0,
"baseAmountPaidOnline": 0,
"baseAmountRefunded": 0,
"baseAmountRefundedOnline": 0,
"baseShippingAmount": 0,
"baseShippingCaptured": 0,
"baseShippingRefunded": 0,
"ccApproval": "string",
"ccAvsStatus": "string",
"ccCidStatus": "string",
"ccDebugRequestBody": "string",
"ccDebugResponseBody": "string",
"ccDebugResponseSerialized": "string",
"ccExpMonth": "string",
"ccExpYear": "string",
"ccLast4": "string",
"ccNumberEnc": "string",
"ccOwner": "string",
"ccSecureVerify": "string",
"ccSsIssue": "string",
"ccSsStartMonth": "string",
"ccSsStartYear": "string",
"ccStatus": "string",
"ccStatusDescription": "string",
"ccTransId": "string",
"ccType": "string",
"echeckAccountName": "string",
"echeckAccountType": "string",
"echeckBankName": "string",
"echeckRoutingNumber": "string",
"echeckType": "string",
"entityId": 0,
"lastTransId": "string",
"method": "string",
"parentId": 0,
"poNumber": "string",
"protectionEligibility": "string",
"quotePaymentId": 0,
"shippingAmount": 0,
"shippingCaptured": 0,
"shippingRefunded": 0,
"extensionAttributes":
,
"statusHistories": [

"comment": "string",
"createdAt": "string",
"entityId": 0,
"entityName": "string",
"isCustomerNotified": 0,
"isVisibleOnFront": 0,
"parentId": 0,
"status": "string",
"extensionAttributes":

],
"extensionAttributes":
"shippingAssignments": [

"shipping":
"address":
"addressType": "string",
"city": "string",
"company": "string",
"countryId": "string",
"customerAddressId": 0,
"customerId": 0,
"email": "string",
"entityId": 0,
"fax": "string",
"firstname": "string",
"lastname": "string",
"middlename": "string",
"parentId": 0,
"postcode": "string",
"prefix": "string",
"region": "string",
"regionCode": "string",
"regionId": 0,
"street": [
"string"
],
"suffix": "string",
"telephone": "string",
"vatId": "string",
"vatIsValid": 0,
"vatRequestDate": "string",
"vatRequestId": "string",
"vatRequestSuccess": 0,
"extensionAttributes":
,
"method": "string",
"total":
"baseShippingAmount": 0,
"baseShippingCanceled": 0,
"baseShippingDiscountAmount": 0,
"baseShippingDiscountTaxCompensationAmnt": 0,
"baseShippingInclTax": 0,
"baseShippingInvoiced": 0,
"baseShippingRefunded": 0,
"baseShippingTaxAmount": 0,
"baseShippingTaxRefunded": 0,
"shippingAmount": 0,
"shippingCanceled": 0,
"shippingDiscountAmount": 0,
"shippingDiscountTaxCompensationAmount": 0,
"shippingInclTax": 0,
"shippingInvoiced": 0,
"shippingRefunded": 0,
"shippingTaxAmount": 0,
"shippingTaxRefunded": 0,
"extensionAttributes":
,
"extensionAttributes":
,
"items": [

"additionalData": "string",
"amountRefunded": 0,
"appliedRuleIds": "string",
"baseAmountRefunded": 0,
"baseCost": 0,
"baseDiscountAmount": 0,
"baseDiscountInvoiced": 0,
"baseDiscountRefunded": 0,
"baseDiscountTaxCompensationAmount": 0,
"baseDiscountTaxCompensationInvoiced": 0,
"baseDiscountTaxCompensationRefunded": 0,
"baseOriginalPrice": 0,
"basePrice": 0,
"basePriceInclTax": 0,
"baseRowInvoiced": 0,
"baseRowTotal": 0,
"baseRowTotalInclTax": 0,
"baseTaxAmount": 0,
"baseTaxBeforeDiscount": 0,
"baseTaxInvoiced": 0,
"baseTaxRefunded": 0,
"baseWeeeTaxAppliedAmount": 0,
"baseWeeeTaxAppliedRowAmnt": 0,
"baseWeeeTaxDisposition": 0,
"baseWeeeTaxRowDisposition": 0,
"createdAt": "string",
"description": "string",
"discountAmount": 0,
"discountInvoiced": 0,
"discountPercent": 0,
"discountRefunded": 0,
"eventId": 0,
"extOrderItemId": "string",
"freeShipping": 0,
"gwBasePrice": 0,
"gwBasePriceInvoiced": 0,
"gwBasePriceRefunded": 0,
"gwBaseTaxAmount": 0,
"gwBaseTaxAmountInvoiced": 0,
"gwBaseTaxAmountRefunded": 0,
"gwId": 0,
"gwPrice": 0,
"gwPriceInvoiced": 0,
"gwPriceRefunded": 0,
"gwTaxAmount": 0,
"gwTaxAmountInvoiced": 0,
"gwTaxAmountRefunded": 0,
"discountTaxCompensationAmount": 0,
"discountTaxCompensationCanceled": 0,
"discountTaxCompensationInvoiced": 0,
"discountTaxCompensationRefunded": 0,
"isQtyDecimal": 0,
"isVirtual": 0,
"itemId": 0,
"lockedDoInvoice": 0,
"lockedDoShip": 0,
"name": "string",
"noDiscount": 0,
"orderId": 0,
"originalPrice": 0,
"parentItemId": 0,
"price": 0,
"priceInclTax": 0,
"productId": 0,
"productType": "string",
"qtyBackordered": 0,
"qtyCanceled": 0,
"qtyInvoiced": 0,
"qtyOrdered": 0,
"qtyRefunded": 0,
"qtyReturned": 0,
"qtyShipped": 0,
"quoteItemId": 0,
"rowInvoiced": 0,
"rowTotal": 0,
"rowTotalInclTax": 0,
"rowWeight": 0,
"sku": "string",
"storeId": 0,
"taxAmount": 0,
"taxBeforeDiscount": 0,
"taxCanceled": 0,
"taxInvoiced": 0,
"taxPercent": 0,
"taxRefunded": 0,
"updatedAt": "string",
"weeeTaxApplied": "string",
"weeeTaxAppliedAmount": 0,
"weeeTaxAppliedRowAmount": 0,
"weeeTaxDisposition": 0,
"weeeTaxRowDisposition": 0,
"weight": 0,
"parentItem": ,
"productOption":
"extensionAttributes":
"customOptions": [

"optionId": "string",
"optionValue": "string",
"extensionAttributes":
"fileInfo":
"base64EncodedData": "string",
"type": "string",
"name": "string"



],
"downloadableOption":
"downloadableLinks": [
0
]
,
"giftcardItemOption":
"giftcardAmount": 0,
"customGiftcardAmount": 0,
"giftcardSenderName": "string",
"giftcardRecipientName": "string",
"giftcardSenderEmail": "string",
"giftcardRecipientEmail": "string",
"giftcardMessage": "string",
"extensionAttributes":
,
"configurableItemOptions": [

"optionId": "string",
"optionValue": 0,
"extensionAttributes":

],
"bundleOptions": [

"optionId": 0,
"optionQty": 0,
"optionSelections": [
0
],
"extensionAttributes":

]

,
"extensionAttributes":
"giftMessage":
"giftMessageId": 0,
"customerId": 0,
"sender": "string",
"recipient": "string",
"message": "string",
"extensionAttributes":
"entityId": "string",
"entityType": "string",
"wrappingId": 0,
"wrappingAllowGiftReceipt": true,
"wrappingAddPrintedCard": true




],
"stockId": 0,
"extensionAttributes":

],
"appliedTaxes": [

"code": "string",
"title": "string",
"percent": 0,
"amount": 0,
"baseAmount": 0,
"extensionAttributes":

],
"itemAppliedTaxes": [

"type": "string",
"itemId": 0,
"associatedItemId": 0,
"appliedTaxes": [

"code": "string",
"title": "string",
"percent": 0,
"amount": 0,
"baseAmount": 0,
"extensionAttributes":

],
"extensionAttributes":

],
"convertingFromQuote": true,
"giftMessage":
"giftMessageId": 0,
"customerId": 0,
"sender": "string",
"recipient": "string",
"message": "string",
"extensionAttributes":
"entityId": "string",
"entityType": "string",
"wrappingId": 0,
"wrappingAllowGiftReceipt": true,
"wrappingAddPrintedCard": true

,
"gwId": "string",
"gwAllowGiftReceipt": "string",
"gwAddCard": "string",
"gwPrice": "string",
"gwBasePrice": "string",
"gwItemsPrice": "string",
"gwItemsBasePrice": "string",
"gwCardPrice": "string",
"gwCardBasePrice": "string",
"gwBaseTaxAmount": "string",
"gwTaxAmount": "string",
"gwItemsBaseTaxAmount": "string",
"gwItemsTaxAmount": "string",
"gwCardBaseTaxAmount": "string",
"gwCardTaxAmount": "string",
"gwPriceInclTax": "string",
"gwBasePriceInclTax": "string",
"gwCardPriceInclTax": "string",
"gwCardBasePriceInclTax": "string",
"gwItemsPriceInclTax": "string",
"gwItemsBasePriceInclTax": "string"







share|improve this answer






















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "479"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f170551%2fpulling-order-ids-via-rest-api-in-magento-2-0%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    When you place an order, Magento will reserve/assign an increment_id for the order_id.



    The increment_id is generated thanks to the primary autoincrement key of this table : sequence_order_1. Where 1 is the store_id.



    So the increment_id and the order_id is not the same value.



    The increment_id is the ID displayed for the customer.



    In order to retrieve the increment_id from API, you can retrieve order information with the order_id such as :



    get /V1/orders/order_id



    Response format :



    Usefull information here : incrementId




    "adjustmentNegative": 0,
    "adjustmentPositive": 0,
    "appliedRuleIds": "string",
    "baseAdjustmentNegative": 0,
    "baseAdjustmentPositive": 0,
    "baseCurrencyCode": "string",
    "baseDiscountAmount": 0,
    "baseDiscountCanceled": 0,
    "baseDiscountInvoiced": 0,
    "baseDiscountRefunded": 0,
    "baseGrandTotal": 0,
    "baseDiscountTaxCompensationAmount": 0,
    "baseDiscountTaxCompensationInvoiced": 0,
    "baseDiscountTaxCompensationRefunded": 0,
    "baseShippingAmount": 0,
    "baseShippingCanceled": 0,
    "baseShippingDiscountAmount": 0,
    "baseShippingDiscountTaxCompensationAmnt": 0,
    "baseShippingInclTax": 0,
    "baseShippingInvoiced": 0,
    "baseShippingRefunded": 0,
    "baseShippingTaxAmount": 0,
    "baseShippingTaxRefunded": 0,
    "baseSubtotal": 0,
    "baseSubtotalCanceled": 0,
    "baseSubtotalInclTax": 0,
    "baseSubtotalInvoiced": 0,
    "baseSubtotalRefunded": 0,
    "baseTaxAmount": 0,
    "baseTaxCanceled": 0,
    "baseTaxInvoiced": 0,
    "baseTaxRefunded": 0,
    "baseTotalCanceled": 0,
    "baseTotalDue": 0,
    "baseTotalInvoiced": 0,
    "baseTotalInvoicedCost": 0,
    "baseTotalOfflineRefunded": 0,
    "baseTotalOnlineRefunded": 0,
    "baseTotalPaid": 0,
    "baseTotalQtyOrdered": 0,
    "baseTotalRefunded": 0,
    "baseToGlobalRate": 0,
    "baseToOrderRate": 0,
    "billingAddressId": 0,
    "canShipPartially": 0,
    "canShipPartiallyItem": 0,
    "couponCode": "string",
    "createdAt": "string",
    "customerDob": "string",
    "customerEmail": "string",
    "customerFirstname": "string",
    "customerGender": 0,
    "customerGroupId": 0,
    "customerId": 0,
    "customerIsGuest": 0,
    "customerLastname": "string",
    "customerMiddlename": "string",
    "customerNote": "string",
    "customerNoteNotify": 0,
    "customerPrefix": "string",
    "customerSuffix": "string",
    "customerTaxvat": "string",
    "discountAmount": 0,
    "discountCanceled": 0,
    "discountDescription": "string",
    "discountInvoiced": 0,
    "discountRefunded": 0,
    "editIncrement": 0,
    "emailSent": 0,
    "entityId": 0,
    "extCustomerId": "string",
    "extOrderId": "string",
    "forcedShipmentWithInvoice": 0,
    "globalCurrencyCode": "string",
    "grandTotal": 0,
    "discountTaxCompensationAmount": 0,
    "discountTaxCompensationInvoiced": 0,
    "discountTaxCompensationRefunded": 0,
    "holdBeforeState": "string",
    "holdBeforeStatus": "string",
    "incrementId": "string",
    "isVirtual": 0,
    "orderCurrencyCode": "string",
    "originalIncrementId": "string",
    "paymentAuthorizationAmount": 0,
    "paymentAuthExpiration": 0,
    "protectCode": "string",
    "quoteAddressId": 0,
    "quoteId": 0,
    "relationChildId": "string",
    "relationChildRealId": "string",
    "relationParentId": "string",
    "relationParentRealId": "string",
    "remoteIp": "string",
    "shippingAmount": 0,
    "shippingCanceled": 0,
    "shippingDescription": "string",
    "shippingDiscountAmount": 0,
    "shippingDiscountTaxCompensationAmount": 0,
    "shippingInclTax": 0,
    "shippingInvoiced": 0,
    "shippingRefunded": 0,
    "shippingTaxAmount": 0,
    "shippingTaxRefunded": 0,
    "state": "string",
    "status": "string",
    "storeCurrencyCode": "string",
    "storeId": 0,
    "storeName": "string",
    "storeToBaseRate": 0,
    "storeToOrderRate": 0,
    "subtotal": 0,
    "subtotalCanceled": 0,
    "subtotalInclTax": 0,
    "subtotalInvoiced": 0,
    "subtotalRefunded": 0,
    "taxAmount": 0,
    "taxCanceled": 0,
    "taxInvoiced": 0,
    "taxRefunded": 0,
    "totalCanceled": 0,
    "totalDue": 0,
    "totalInvoiced": 0,
    "totalItemCount": 0,
    "totalOfflineRefunded": 0,
    "totalOnlineRefunded": 0,
    "totalPaid": 0,
    "totalQtyOrdered": 0,
    "totalRefunded": 0,
    "updatedAt": "string",
    "weight": 0,
    "xForwardedFor": "string",
    "items": [

    "additionalData": "string",
    "amountRefunded": 0,
    "appliedRuleIds": "string",
    "baseAmountRefunded": 0,
    "baseCost": 0,
    "baseDiscountAmount": 0,
    "baseDiscountInvoiced": 0,
    "baseDiscountRefunded": 0,
    "baseDiscountTaxCompensationAmount": 0,
    "baseDiscountTaxCompensationInvoiced": 0,
    "baseDiscountTaxCompensationRefunded": 0,
    "baseOriginalPrice": 0,
    "basePrice": 0,
    "basePriceInclTax": 0,
    "baseRowInvoiced": 0,
    "baseRowTotal": 0,
    "baseRowTotalInclTax": 0,
    "baseTaxAmount": 0,
    "baseTaxBeforeDiscount": 0,
    "baseTaxInvoiced": 0,
    "baseTaxRefunded": 0,
    "baseWeeeTaxAppliedAmount": 0,
    "baseWeeeTaxAppliedRowAmnt": 0,
    "baseWeeeTaxDisposition": 0,
    "baseWeeeTaxRowDisposition": 0,
    "createdAt": "string",
    "description": "string",
    "discountAmount": 0,
    "discountInvoiced": 0,
    "discountPercent": 0,
    "discountRefunded": 0,
    "eventId": 0,
    "extOrderItemId": "string",
    "freeShipping": 0,
    "gwBasePrice": 0,
    "gwBasePriceInvoiced": 0,
    "gwBasePriceRefunded": 0,
    "gwBaseTaxAmount": 0,
    "gwBaseTaxAmountInvoiced": 0,
    "gwBaseTaxAmountRefunded": 0,
    "gwId": 0,
    "gwPrice": 0,
    "gwPriceInvoiced": 0,
    "gwPriceRefunded": 0,
    "gwTaxAmount": 0,
    "gwTaxAmountInvoiced": 0,
    "gwTaxAmountRefunded": 0,
    "discountTaxCompensationAmount": 0,
    "discountTaxCompensationCanceled": 0,
    "discountTaxCompensationInvoiced": 0,
    "discountTaxCompensationRefunded": 0,
    "isQtyDecimal": 0,
    "isVirtual": 0,
    "itemId": 0,
    "lockedDoInvoice": 0,
    "lockedDoShip": 0,
    "name": "string",
    "noDiscount": 0,
    "orderId": 0,
    "originalPrice": 0,
    "parentItemId": 0,
    "price": 0,
    "priceInclTax": 0,
    "productId": 0,
    "productType": "string",
    "qtyBackordered": 0,
    "qtyCanceled": 0,
    "qtyInvoiced": 0,
    "qtyOrdered": 0,
    "qtyRefunded": 0,
    "qtyReturned": 0,
    "qtyShipped": 0,
    "quoteItemId": 0,
    "rowInvoiced": 0,
    "rowTotal": 0,
    "rowTotalInclTax": 0,
    "rowWeight": 0,
    "sku": "string",
    "storeId": 0,
    "taxAmount": 0,
    "taxBeforeDiscount": 0,
    "taxCanceled": 0,
    "taxInvoiced": 0,
    "taxPercent": 0,
    "taxRefunded": 0,
    "updatedAt": "string",
    "weeeTaxApplied": "string",
    "weeeTaxAppliedAmount": 0,
    "weeeTaxAppliedRowAmount": 0,
    "weeeTaxDisposition": 0,
    "weeeTaxRowDisposition": 0,
    "weight": 0,
    "parentItem": ,
    "productOption":
    "extensionAttributes":
    "customOptions": [

    "optionId": "string",
    "optionValue": "string",
    "extensionAttributes":
    "fileInfo":
    "base64EncodedData": "string",
    "type": "string",
    "name": "string"



    ],
    "downloadableOption":
    "downloadableLinks": [
    0
    ]
    ,
    "giftcardItemOption":
    "giftcardAmount": 0,
    "customGiftcardAmount": 0,
    "giftcardSenderName": "string",
    "giftcardRecipientName": "string",
    "giftcardSenderEmail": "string",
    "giftcardRecipientEmail": "string",
    "giftcardMessage": "string",
    "extensionAttributes":
    ,
    "configurableItemOptions": [

    "optionId": "string",
    "optionValue": 0,
    "extensionAttributes":

    ],
    "bundleOptions": [

    "optionId": 0,
    "optionQty": 0,
    "optionSelections": [
    0
    ],
    "extensionAttributes":

    ]

    ,
    "extensionAttributes":
    "giftMessage":
    "giftMessageId": 0,
    "customerId": 0,
    "sender": "string",
    "recipient": "string",
    "message": "string",
    "extensionAttributes":
    "entityId": "string",
    "entityType": "string",
    "wrappingId": 0,
    "wrappingAllowGiftReceipt": true,
    "wrappingAddPrintedCard": true




    ],
    "billingAddress":
    "addressType": "string",
    "city": "string",
    "company": "string",
    "countryId": "string",
    "customerAddressId": 0,
    "customerId": 0,
    "email": "string",
    "entityId": 0,
    "fax": "string",
    "firstname": "string",
    "lastname": "string",
    "middlename": "string",
    "parentId": 0,
    "postcode": "string",
    "prefix": "string",
    "region": "string",
    "regionCode": "string",
    "regionId": 0,
    "street": [
    "string"
    ],
    "suffix": "string",
    "telephone": "string",
    "vatId": "string",
    "vatIsValid": 0,
    "vatRequestDate": "string",
    "vatRequestId": "string",
    "vatRequestSuccess": 0,
    "extensionAttributes":
    ,
    "payment":
    "accountStatus": "string",
    "additionalData": "string",
    "additionalInformation": [
    "string"
    ],
    "addressStatus": "string",
    "amountAuthorized": 0,
    "amountCanceled": 0,
    "amountOrdered": 0,
    "amountPaid": 0,
    "amountRefunded": 0,
    "anetTransMethod": "string",
    "baseAmountAuthorized": 0,
    "baseAmountCanceled": 0,
    "baseAmountOrdered": 0,
    "baseAmountPaid": 0,
    "baseAmountPaidOnline": 0,
    "baseAmountRefunded": 0,
    "baseAmountRefundedOnline": 0,
    "baseShippingAmount": 0,
    "baseShippingCaptured": 0,
    "baseShippingRefunded": 0,
    "ccApproval": "string",
    "ccAvsStatus": "string",
    "ccCidStatus": "string",
    "ccDebugRequestBody": "string",
    "ccDebugResponseBody": "string",
    "ccDebugResponseSerialized": "string",
    "ccExpMonth": "string",
    "ccExpYear": "string",
    "ccLast4": "string",
    "ccNumberEnc": "string",
    "ccOwner": "string",
    "ccSecureVerify": "string",
    "ccSsIssue": "string",
    "ccSsStartMonth": "string",
    "ccSsStartYear": "string",
    "ccStatus": "string",
    "ccStatusDescription": "string",
    "ccTransId": "string",
    "ccType": "string",
    "echeckAccountName": "string",
    "echeckAccountType": "string",
    "echeckBankName": "string",
    "echeckRoutingNumber": "string",
    "echeckType": "string",
    "entityId": 0,
    "lastTransId": "string",
    "method": "string",
    "parentId": 0,
    "poNumber": "string",
    "protectionEligibility": "string",
    "quotePaymentId": 0,
    "shippingAmount": 0,
    "shippingCaptured": 0,
    "shippingRefunded": 0,
    "extensionAttributes":
    ,
    "statusHistories": [

    "comment": "string",
    "createdAt": "string",
    "entityId": 0,
    "entityName": "string",
    "isCustomerNotified": 0,
    "isVisibleOnFront": 0,
    "parentId": 0,
    "status": "string",
    "extensionAttributes":

    ],
    "extensionAttributes":
    "shippingAssignments": [

    "shipping":
    "address":
    "addressType": "string",
    "city": "string",
    "company": "string",
    "countryId": "string",
    "customerAddressId": 0,
    "customerId": 0,
    "email": "string",
    "entityId": 0,
    "fax": "string",
    "firstname": "string",
    "lastname": "string",
    "middlename": "string",
    "parentId": 0,
    "postcode": "string",
    "prefix": "string",
    "region": "string",
    "regionCode": "string",
    "regionId": 0,
    "street": [
    "string"
    ],
    "suffix": "string",
    "telephone": "string",
    "vatId": "string",
    "vatIsValid": 0,
    "vatRequestDate": "string",
    "vatRequestId": "string",
    "vatRequestSuccess": 0,
    "extensionAttributes":
    ,
    "method": "string",
    "total":
    "baseShippingAmount": 0,
    "baseShippingCanceled": 0,
    "baseShippingDiscountAmount": 0,
    "baseShippingDiscountTaxCompensationAmnt": 0,
    "baseShippingInclTax": 0,
    "baseShippingInvoiced": 0,
    "baseShippingRefunded": 0,
    "baseShippingTaxAmount": 0,
    "baseShippingTaxRefunded": 0,
    "shippingAmount": 0,
    "shippingCanceled": 0,
    "shippingDiscountAmount": 0,
    "shippingDiscountTaxCompensationAmount": 0,
    "shippingInclTax": 0,
    "shippingInvoiced": 0,
    "shippingRefunded": 0,
    "shippingTaxAmount": 0,
    "shippingTaxRefunded": 0,
    "extensionAttributes":
    ,
    "extensionAttributes":
    ,
    "items": [

    "additionalData": "string",
    "amountRefunded": 0,
    "appliedRuleIds": "string",
    "baseAmountRefunded": 0,
    "baseCost": 0,
    "baseDiscountAmount": 0,
    "baseDiscountInvoiced": 0,
    "baseDiscountRefunded": 0,
    "baseDiscountTaxCompensationAmount": 0,
    "baseDiscountTaxCompensationInvoiced": 0,
    "baseDiscountTaxCompensationRefunded": 0,
    "baseOriginalPrice": 0,
    "basePrice": 0,
    "basePriceInclTax": 0,
    "baseRowInvoiced": 0,
    "baseRowTotal": 0,
    "baseRowTotalInclTax": 0,
    "baseTaxAmount": 0,
    "baseTaxBeforeDiscount": 0,
    "baseTaxInvoiced": 0,
    "baseTaxRefunded": 0,
    "baseWeeeTaxAppliedAmount": 0,
    "baseWeeeTaxAppliedRowAmnt": 0,
    "baseWeeeTaxDisposition": 0,
    "baseWeeeTaxRowDisposition": 0,
    "createdAt": "string",
    "description": "string",
    "discountAmount": 0,
    "discountInvoiced": 0,
    "discountPercent": 0,
    "discountRefunded": 0,
    "eventId": 0,
    "extOrderItemId": "string",
    "freeShipping": 0,
    "gwBasePrice": 0,
    "gwBasePriceInvoiced": 0,
    "gwBasePriceRefunded": 0,
    "gwBaseTaxAmount": 0,
    "gwBaseTaxAmountInvoiced": 0,
    "gwBaseTaxAmountRefunded": 0,
    "gwId": 0,
    "gwPrice": 0,
    "gwPriceInvoiced": 0,
    "gwPriceRefunded": 0,
    "gwTaxAmount": 0,
    "gwTaxAmountInvoiced": 0,
    "gwTaxAmountRefunded": 0,
    "discountTaxCompensationAmount": 0,
    "discountTaxCompensationCanceled": 0,
    "discountTaxCompensationInvoiced": 0,
    "discountTaxCompensationRefunded": 0,
    "isQtyDecimal": 0,
    "isVirtual": 0,
    "itemId": 0,
    "lockedDoInvoice": 0,
    "lockedDoShip": 0,
    "name": "string",
    "noDiscount": 0,
    "orderId": 0,
    "originalPrice": 0,
    "parentItemId": 0,
    "price": 0,
    "priceInclTax": 0,
    "productId": 0,
    "productType": "string",
    "qtyBackordered": 0,
    "qtyCanceled": 0,
    "qtyInvoiced": 0,
    "qtyOrdered": 0,
    "qtyRefunded": 0,
    "qtyReturned": 0,
    "qtyShipped": 0,
    "quoteItemId": 0,
    "rowInvoiced": 0,
    "rowTotal": 0,
    "rowTotalInclTax": 0,
    "rowWeight": 0,
    "sku": "string",
    "storeId": 0,
    "taxAmount": 0,
    "taxBeforeDiscount": 0,
    "taxCanceled": 0,
    "taxInvoiced": 0,
    "taxPercent": 0,
    "taxRefunded": 0,
    "updatedAt": "string",
    "weeeTaxApplied": "string",
    "weeeTaxAppliedAmount": 0,
    "weeeTaxAppliedRowAmount": 0,
    "weeeTaxDisposition": 0,
    "weeeTaxRowDisposition": 0,
    "weight": 0,
    "parentItem": ,
    "productOption":
    "extensionAttributes":
    "customOptions": [

    "optionId": "string",
    "optionValue": "string",
    "extensionAttributes":
    "fileInfo":
    "base64EncodedData": "string",
    "type": "string",
    "name": "string"



    ],
    "downloadableOption":
    "downloadableLinks": [
    0
    ]
    ,
    "giftcardItemOption":
    "giftcardAmount": 0,
    "customGiftcardAmount": 0,
    "giftcardSenderName": "string",
    "giftcardRecipientName": "string",
    "giftcardSenderEmail": "string",
    "giftcardRecipientEmail": "string",
    "giftcardMessage": "string",
    "extensionAttributes":
    ,
    "configurableItemOptions": [

    "optionId": "string",
    "optionValue": 0,
    "extensionAttributes":

    ],
    "bundleOptions": [

    "optionId": 0,
    "optionQty": 0,
    "optionSelections": [
    0
    ],
    "extensionAttributes":

    ]

    ,
    "extensionAttributes":
    "giftMessage":
    "giftMessageId": 0,
    "customerId": 0,
    "sender": "string",
    "recipient": "string",
    "message": "string",
    "extensionAttributes":
    "entityId": "string",
    "entityType": "string",
    "wrappingId": 0,
    "wrappingAllowGiftReceipt": true,
    "wrappingAddPrintedCard": true




    ],
    "stockId": 0,
    "extensionAttributes":

    ],
    "appliedTaxes": [

    "code": "string",
    "title": "string",
    "percent": 0,
    "amount": 0,
    "baseAmount": 0,
    "extensionAttributes":

    ],
    "itemAppliedTaxes": [

    "type": "string",
    "itemId": 0,
    "associatedItemId": 0,
    "appliedTaxes": [

    "code": "string",
    "title": "string",
    "percent": 0,
    "amount": 0,
    "baseAmount": 0,
    "extensionAttributes":

    ],
    "extensionAttributes":

    ],
    "convertingFromQuote": true,
    "giftMessage":
    "giftMessageId": 0,
    "customerId": 0,
    "sender": "string",
    "recipient": "string",
    "message": "string",
    "extensionAttributes":
    "entityId": "string",
    "entityType": "string",
    "wrappingId": 0,
    "wrappingAllowGiftReceipt": true,
    "wrappingAddPrintedCard": true

    ,
    "gwId": "string",
    "gwAllowGiftReceipt": "string",
    "gwAddCard": "string",
    "gwPrice": "string",
    "gwBasePrice": "string",
    "gwItemsPrice": "string",
    "gwItemsBasePrice": "string",
    "gwCardPrice": "string",
    "gwCardBasePrice": "string",
    "gwBaseTaxAmount": "string",
    "gwTaxAmount": "string",
    "gwItemsBaseTaxAmount": "string",
    "gwItemsTaxAmount": "string",
    "gwCardBaseTaxAmount": "string",
    "gwCardTaxAmount": "string",
    "gwPriceInclTax": "string",
    "gwBasePriceInclTax": "string",
    "gwCardPriceInclTax": "string",
    "gwCardBasePriceInclTax": "string",
    "gwItemsPriceInclTax": "string",
    "gwItemsBasePriceInclTax": "string"







    share|improve this answer



























      0














      When you place an order, Magento will reserve/assign an increment_id for the order_id.



      The increment_id is generated thanks to the primary autoincrement key of this table : sequence_order_1. Where 1 is the store_id.



      So the increment_id and the order_id is not the same value.



      The increment_id is the ID displayed for the customer.



      In order to retrieve the increment_id from API, you can retrieve order information with the order_id such as :



      get /V1/orders/order_id



      Response format :



      Usefull information here : incrementId




      "adjustmentNegative": 0,
      "adjustmentPositive": 0,
      "appliedRuleIds": "string",
      "baseAdjustmentNegative": 0,
      "baseAdjustmentPositive": 0,
      "baseCurrencyCode": "string",
      "baseDiscountAmount": 0,
      "baseDiscountCanceled": 0,
      "baseDiscountInvoiced": 0,
      "baseDiscountRefunded": 0,
      "baseGrandTotal": 0,
      "baseDiscountTaxCompensationAmount": 0,
      "baseDiscountTaxCompensationInvoiced": 0,
      "baseDiscountTaxCompensationRefunded": 0,
      "baseShippingAmount": 0,
      "baseShippingCanceled": 0,
      "baseShippingDiscountAmount": 0,
      "baseShippingDiscountTaxCompensationAmnt": 0,
      "baseShippingInclTax": 0,
      "baseShippingInvoiced": 0,
      "baseShippingRefunded": 0,
      "baseShippingTaxAmount": 0,
      "baseShippingTaxRefunded": 0,
      "baseSubtotal": 0,
      "baseSubtotalCanceled": 0,
      "baseSubtotalInclTax": 0,
      "baseSubtotalInvoiced": 0,
      "baseSubtotalRefunded": 0,
      "baseTaxAmount": 0,
      "baseTaxCanceled": 0,
      "baseTaxInvoiced": 0,
      "baseTaxRefunded": 0,
      "baseTotalCanceled": 0,
      "baseTotalDue": 0,
      "baseTotalInvoiced": 0,
      "baseTotalInvoicedCost": 0,
      "baseTotalOfflineRefunded": 0,
      "baseTotalOnlineRefunded": 0,
      "baseTotalPaid": 0,
      "baseTotalQtyOrdered": 0,
      "baseTotalRefunded": 0,
      "baseToGlobalRate": 0,
      "baseToOrderRate": 0,
      "billingAddressId": 0,
      "canShipPartially": 0,
      "canShipPartiallyItem": 0,
      "couponCode": "string",
      "createdAt": "string",
      "customerDob": "string",
      "customerEmail": "string",
      "customerFirstname": "string",
      "customerGender": 0,
      "customerGroupId": 0,
      "customerId": 0,
      "customerIsGuest": 0,
      "customerLastname": "string",
      "customerMiddlename": "string",
      "customerNote": "string",
      "customerNoteNotify": 0,
      "customerPrefix": "string",
      "customerSuffix": "string",
      "customerTaxvat": "string",
      "discountAmount": 0,
      "discountCanceled": 0,
      "discountDescription": "string",
      "discountInvoiced": 0,
      "discountRefunded": 0,
      "editIncrement": 0,
      "emailSent": 0,
      "entityId": 0,
      "extCustomerId": "string",
      "extOrderId": "string",
      "forcedShipmentWithInvoice": 0,
      "globalCurrencyCode": "string",
      "grandTotal": 0,
      "discountTaxCompensationAmount": 0,
      "discountTaxCompensationInvoiced": 0,
      "discountTaxCompensationRefunded": 0,
      "holdBeforeState": "string",
      "holdBeforeStatus": "string",
      "incrementId": "string",
      "isVirtual": 0,
      "orderCurrencyCode": "string",
      "originalIncrementId": "string",
      "paymentAuthorizationAmount": 0,
      "paymentAuthExpiration": 0,
      "protectCode": "string",
      "quoteAddressId": 0,
      "quoteId": 0,
      "relationChildId": "string",
      "relationChildRealId": "string",
      "relationParentId": "string",
      "relationParentRealId": "string",
      "remoteIp": "string",
      "shippingAmount": 0,
      "shippingCanceled": 0,
      "shippingDescription": "string",
      "shippingDiscountAmount": 0,
      "shippingDiscountTaxCompensationAmount": 0,
      "shippingInclTax": 0,
      "shippingInvoiced": 0,
      "shippingRefunded": 0,
      "shippingTaxAmount": 0,
      "shippingTaxRefunded": 0,
      "state": "string",
      "status": "string",
      "storeCurrencyCode": "string",
      "storeId": 0,
      "storeName": "string",
      "storeToBaseRate": 0,
      "storeToOrderRate": 0,
      "subtotal": 0,
      "subtotalCanceled": 0,
      "subtotalInclTax": 0,
      "subtotalInvoiced": 0,
      "subtotalRefunded": 0,
      "taxAmount": 0,
      "taxCanceled": 0,
      "taxInvoiced": 0,
      "taxRefunded": 0,
      "totalCanceled": 0,
      "totalDue": 0,
      "totalInvoiced": 0,
      "totalItemCount": 0,
      "totalOfflineRefunded": 0,
      "totalOnlineRefunded": 0,
      "totalPaid": 0,
      "totalQtyOrdered": 0,
      "totalRefunded": 0,
      "updatedAt": "string",
      "weight": 0,
      "xForwardedFor": "string",
      "items": [

      "additionalData": "string",
      "amountRefunded": 0,
      "appliedRuleIds": "string",
      "baseAmountRefunded": 0,
      "baseCost": 0,
      "baseDiscountAmount": 0,
      "baseDiscountInvoiced": 0,
      "baseDiscountRefunded": 0,
      "baseDiscountTaxCompensationAmount": 0,
      "baseDiscountTaxCompensationInvoiced": 0,
      "baseDiscountTaxCompensationRefunded": 0,
      "baseOriginalPrice": 0,
      "basePrice": 0,
      "basePriceInclTax": 0,
      "baseRowInvoiced": 0,
      "baseRowTotal": 0,
      "baseRowTotalInclTax": 0,
      "baseTaxAmount": 0,
      "baseTaxBeforeDiscount": 0,
      "baseTaxInvoiced": 0,
      "baseTaxRefunded": 0,
      "baseWeeeTaxAppliedAmount": 0,
      "baseWeeeTaxAppliedRowAmnt": 0,
      "baseWeeeTaxDisposition": 0,
      "baseWeeeTaxRowDisposition": 0,
      "createdAt": "string",
      "description": "string",
      "discountAmount": 0,
      "discountInvoiced": 0,
      "discountPercent": 0,
      "discountRefunded": 0,
      "eventId": 0,
      "extOrderItemId": "string",
      "freeShipping": 0,
      "gwBasePrice": 0,
      "gwBasePriceInvoiced": 0,
      "gwBasePriceRefunded": 0,
      "gwBaseTaxAmount": 0,
      "gwBaseTaxAmountInvoiced": 0,
      "gwBaseTaxAmountRefunded": 0,
      "gwId": 0,
      "gwPrice": 0,
      "gwPriceInvoiced": 0,
      "gwPriceRefunded": 0,
      "gwTaxAmount": 0,
      "gwTaxAmountInvoiced": 0,
      "gwTaxAmountRefunded": 0,
      "discountTaxCompensationAmount": 0,
      "discountTaxCompensationCanceled": 0,
      "discountTaxCompensationInvoiced": 0,
      "discountTaxCompensationRefunded": 0,
      "isQtyDecimal": 0,
      "isVirtual": 0,
      "itemId": 0,
      "lockedDoInvoice": 0,
      "lockedDoShip": 0,
      "name": "string",
      "noDiscount": 0,
      "orderId": 0,
      "originalPrice": 0,
      "parentItemId": 0,
      "price": 0,
      "priceInclTax": 0,
      "productId": 0,
      "productType": "string",
      "qtyBackordered": 0,
      "qtyCanceled": 0,
      "qtyInvoiced": 0,
      "qtyOrdered": 0,
      "qtyRefunded": 0,
      "qtyReturned": 0,
      "qtyShipped": 0,
      "quoteItemId": 0,
      "rowInvoiced": 0,
      "rowTotal": 0,
      "rowTotalInclTax": 0,
      "rowWeight": 0,
      "sku": "string",
      "storeId": 0,
      "taxAmount": 0,
      "taxBeforeDiscount": 0,
      "taxCanceled": 0,
      "taxInvoiced": 0,
      "taxPercent": 0,
      "taxRefunded": 0,
      "updatedAt": "string",
      "weeeTaxApplied": "string",
      "weeeTaxAppliedAmount": 0,
      "weeeTaxAppliedRowAmount": 0,
      "weeeTaxDisposition": 0,
      "weeeTaxRowDisposition": 0,
      "weight": 0,
      "parentItem": ,
      "productOption":
      "extensionAttributes":
      "customOptions": [

      "optionId": "string",
      "optionValue": "string",
      "extensionAttributes":
      "fileInfo":
      "base64EncodedData": "string",
      "type": "string",
      "name": "string"



      ],
      "downloadableOption":
      "downloadableLinks": [
      0
      ]
      ,
      "giftcardItemOption":
      "giftcardAmount": 0,
      "customGiftcardAmount": 0,
      "giftcardSenderName": "string",
      "giftcardRecipientName": "string",
      "giftcardSenderEmail": "string",
      "giftcardRecipientEmail": "string",
      "giftcardMessage": "string",
      "extensionAttributes":
      ,
      "configurableItemOptions": [

      "optionId": "string",
      "optionValue": 0,
      "extensionAttributes":

      ],
      "bundleOptions": [

      "optionId": 0,
      "optionQty": 0,
      "optionSelections": [
      0
      ],
      "extensionAttributes":

      ]

      ,
      "extensionAttributes":
      "giftMessage":
      "giftMessageId": 0,
      "customerId": 0,
      "sender": "string",
      "recipient": "string",
      "message": "string",
      "extensionAttributes":
      "entityId": "string",
      "entityType": "string",
      "wrappingId": 0,
      "wrappingAllowGiftReceipt": true,
      "wrappingAddPrintedCard": true




      ],
      "billingAddress":
      "addressType": "string",
      "city": "string",
      "company": "string",
      "countryId": "string",
      "customerAddressId": 0,
      "customerId": 0,
      "email": "string",
      "entityId": 0,
      "fax": "string",
      "firstname": "string",
      "lastname": "string",
      "middlename": "string",
      "parentId": 0,
      "postcode": "string",
      "prefix": "string",
      "region": "string",
      "regionCode": "string",
      "regionId": 0,
      "street": [
      "string"
      ],
      "suffix": "string",
      "telephone": "string",
      "vatId": "string",
      "vatIsValid": 0,
      "vatRequestDate": "string",
      "vatRequestId": "string",
      "vatRequestSuccess": 0,
      "extensionAttributes":
      ,
      "payment":
      "accountStatus": "string",
      "additionalData": "string",
      "additionalInformation": [
      "string"
      ],
      "addressStatus": "string",
      "amountAuthorized": 0,
      "amountCanceled": 0,
      "amountOrdered": 0,
      "amountPaid": 0,
      "amountRefunded": 0,
      "anetTransMethod": "string",
      "baseAmountAuthorized": 0,
      "baseAmountCanceled": 0,
      "baseAmountOrdered": 0,
      "baseAmountPaid": 0,
      "baseAmountPaidOnline": 0,
      "baseAmountRefunded": 0,
      "baseAmountRefundedOnline": 0,
      "baseShippingAmount": 0,
      "baseShippingCaptured": 0,
      "baseShippingRefunded": 0,
      "ccApproval": "string",
      "ccAvsStatus": "string",
      "ccCidStatus": "string",
      "ccDebugRequestBody": "string",
      "ccDebugResponseBody": "string",
      "ccDebugResponseSerialized": "string",
      "ccExpMonth": "string",
      "ccExpYear": "string",
      "ccLast4": "string",
      "ccNumberEnc": "string",
      "ccOwner": "string",
      "ccSecureVerify": "string",
      "ccSsIssue": "string",
      "ccSsStartMonth": "string",
      "ccSsStartYear": "string",
      "ccStatus": "string",
      "ccStatusDescription": "string",
      "ccTransId": "string",
      "ccType": "string",
      "echeckAccountName": "string",
      "echeckAccountType": "string",
      "echeckBankName": "string",
      "echeckRoutingNumber": "string",
      "echeckType": "string",
      "entityId": 0,
      "lastTransId": "string",
      "method": "string",
      "parentId": 0,
      "poNumber": "string",
      "protectionEligibility": "string",
      "quotePaymentId": 0,
      "shippingAmount": 0,
      "shippingCaptured": 0,
      "shippingRefunded": 0,
      "extensionAttributes":
      ,
      "statusHistories": [

      "comment": "string",
      "createdAt": "string",
      "entityId": 0,
      "entityName": "string",
      "isCustomerNotified": 0,
      "isVisibleOnFront": 0,
      "parentId": 0,
      "status": "string",
      "extensionAttributes":

      ],
      "extensionAttributes":
      "shippingAssignments": [

      "shipping":
      "address":
      "addressType": "string",
      "city": "string",
      "company": "string",
      "countryId": "string",
      "customerAddressId": 0,
      "customerId": 0,
      "email": "string",
      "entityId": 0,
      "fax": "string",
      "firstname": "string",
      "lastname": "string",
      "middlename": "string",
      "parentId": 0,
      "postcode": "string",
      "prefix": "string",
      "region": "string",
      "regionCode": "string",
      "regionId": 0,
      "street": [
      "string"
      ],
      "suffix": "string",
      "telephone": "string",
      "vatId": "string",
      "vatIsValid": 0,
      "vatRequestDate": "string",
      "vatRequestId": "string",
      "vatRequestSuccess": 0,
      "extensionAttributes":
      ,
      "method": "string",
      "total":
      "baseShippingAmount": 0,
      "baseShippingCanceled": 0,
      "baseShippingDiscountAmount": 0,
      "baseShippingDiscountTaxCompensationAmnt": 0,
      "baseShippingInclTax": 0,
      "baseShippingInvoiced": 0,
      "baseShippingRefunded": 0,
      "baseShippingTaxAmount": 0,
      "baseShippingTaxRefunded": 0,
      "shippingAmount": 0,
      "shippingCanceled": 0,
      "shippingDiscountAmount": 0,
      "shippingDiscountTaxCompensationAmount": 0,
      "shippingInclTax": 0,
      "shippingInvoiced": 0,
      "shippingRefunded": 0,
      "shippingTaxAmount": 0,
      "shippingTaxRefunded": 0,
      "extensionAttributes":
      ,
      "extensionAttributes":
      ,
      "items": [

      "additionalData": "string",
      "amountRefunded": 0,
      "appliedRuleIds": "string",
      "baseAmountRefunded": 0,
      "baseCost": 0,
      "baseDiscountAmount": 0,
      "baseDiscountInvoiced": 0,
      "baseDiscountRefunded": 0,
      "baseDiscountTaxCompensationAmount": 0,
      "baseDiscountTaxCompensationInvoiced": 0,
      "baseDiscountTaxCompensationRefunded": 0,
      "baseOriginalPrice": 0,
      "basePrice": 0,
      "basePriceInclTax": 0,
      "baseRowInvoiced": 0,
      "baseRowTotal": 0,
      "baseRowTotalInclTax": 0,
      "baseTaxAmount": 0,
      "baseTaxBeforeDiscount": 0,
      "baseTaxInvoiced": 0,
      "baseTaxRefunded": 0,
      "baseWeeeTaxAppliedAmount": 0,
      "baseWeeeTaxAppliedRowAmnt": 0,
      "baseWeeeTaxDisposition": 0,
      "baseWeeeTaxRowDisposition": 0,
      "createdAt": "string",
      "description": "string",
      "discountAmount": 0,
      "discountInvoiced": 0,
      "discountPercent": 0,
      "discountRefunded": 0,
      "eventId": 0,
      "extOrderItemId": "string",
      "freeShipping": 0,
      "gwBasePrice": 0,
      "gwBasePriceInvoiced": 0,
      "gwBasePriceRefunded": 0,
      "gwBaseTaxAmount": 0,
      "gwBaseTaxAmountInvoiced": 0,
      "gwBaseTaxAmountRefunded": 0,
      "gwId": 0,
      "gwPrice": 0,
      "gwPriceInvoiced": 0,
      "gwPriceRefunded": 0,
      "gwTaxAmount": 0,
      "gwTaxAmountInvoiced": 0,
      "gwTaxAmountRefunded": 0,
      "discountTaxCompensationAmount": 0,
      "discountTaxCompensationCanceled": 0,
      "discountTaxCompensationInvoiced": 0,
      "discountTaxCompensationRefunded": 0,
      "isQtyDecimal": 0,
      "isVirtual": 0,
      "itemId": 0,
      "lockedDoInvoice": 0,
      "lockedDoShip": 0,
      "name": "string",
      "noDiscount": 0,
      "orderId": 0,
      "originalPrice": 0,
      "parentItemId": 0,
      "price": 0,
      "priceInclTax": 0,
      "productId": 0,
      "productType": "string",
      "qtyBackordered": 0,
      "qtyCanceled": 0,
      "qtyInvoiced": 0,
      "qtyOrdered": 0,
      "qtyRefunded": 0,
      "qtyReturned": 0,
      "qtyShipped": 0,
      "quoteItemId": 0,
      "rowInvoiced": 0,
      "rowTotal": 0,
      "rowTotalInclTax": 0,
      "rowWeight": 0,
      "sku": "string",
      "storeId": 0,
      "taxAmount": 0,
      "taxBeforeDiscount": 0,
      "taxCanceled": 0,
      "taxInvoiced": 0,
      "taxPercent": 0,
      "taxRefunded": 0,
      "updatedAt": "string",
      "weeeTaxApplied": "string",
      "weeeTaxAppliedAmount": 0,
      "weeeTaxAppliedRowAmount": 0,
      "weeeTaxDisposition": 0,
      "weeeTaxRowDisposition": 0,
      "weight": 0,
      "parentItem": ,
      "productOption":
      "extensionAttributes":
      "customOptions": [

      "optionId": "string",
      "optionValue": "string",
      "extensionAttributes":
      "fileInfo":
      "base64EncodedData": "string",
      "type": "string",
      "name": "string"



      ],
      "downloadableOption":
      "downloadableLinks": [
      0
      ]
      ,
      "giftcardItemOption":
      "giftcardAmount": 0,
      "customGiftcardAmount": 0,
      "giftcardSenderName": "string",
      "giftcardRecipientName": "string",
      "giftcardSenderEmail": "string",
      "giftcardRecipientEmail": "string",
      "giftcardMessage": "string",
      "extensionAttributes":
      ,
      "configurableItemOptions": [

      "optionId": "string",
      "optionValue": 0,
      "extensionAttributes":

      ],
      "bundleOptions": [

      "optionId": 0,
      "optionQty": 0,
      "optionSelections": [
      0
      ],
      "extensionAttributes":

      ]

      ,
      "extensionAttributes":
      "giftMessage":
      "giftMessageId": 0,
      "customerId": 0,
      "sender": "string",
      "recipient": "string",
      "message": "string",
      "extensionAttributes":
      "entityId": "string",
      "entityType": "string",
      "wrappingId": 0,
      "wrappingAllowGiftReceipt": true,
      "wrappingAddPrintedCard": true




      ],
      "stockId": 0,
      "extensionAttributes":

      ],
      "appliedTaxes": [

      "code": "string",
      "title": "string",
      "percent": 0,
      "amount": 0,
      "baseAmount": 0,
      "extensionAttributes":

      ],
      "itemAppliedTaxes": [

      "type": "string",
      "itemId": 0,
      "associatedItemId": 0,
      "appliedTaxes": [

      "code": "string",
      "title": "string",
      "percent": 0,
      "amount": 0,
      "baseAmount": 0,
      "extensionAttributes":

      ],
      "extensionAttributes":

      ],
      "convertingFromQuote": true,
      "giftMessage":
      "giftMessageId": 0,
      "customerId": 0,
      "sender": "string",
      "recipient": "string",
      "message": "string",
      "extensionAttributes":
      "entityId": "string",
      "entityType": "string",
      "wrappingId": 0,
      "wrappingAllowGiftReceipt": true,
      "wrappingAddPrintedCard": true

      ,
      "gwId": "string",
      "gwAllowGiftReceipt": "string",
      "gwAddCard": "string",
      "gwPrice": "string",
      "gwBasePrice": "string",
      "gwItemsPrice": "string",
      "gwItemsBasePrice": "string",
      "gwCardPrice": "string",
      "gwCardBasePrice": "string",
      "gwBaseTaxAmount": "string",
      "gwTaxAmount": "string",
      "gwItemsBaseTaxAmount": "string",
      "gwItemsTaxAmount": "string",
      "gwCardBaseTaxAmount": "string",
      "gwCardTaxAmount": "string",
      "gwPriceInclTax": "string",
      "gwBasePriceInclTax": "string",
      "gwCardPriceInclTax": "string",
      "gwCardBasePriceInclTax": "string",
      "gwItemsPriceInclTax": "string",
      "gwItemsBasePriceInclTax": "string"







      share|improve this answer

























        0












        0








        0







        When you place an order, Magento will reserve/assign an increment_id for the order_id.



        The increment_id is generated thanks to the primary autoincrement key of this table : sequence_order_1. Where 1 is the store_id.



        So the increment_id and the order_id is not the same value.



        The increment_id is the ID displayed for the customer.



        In order to retrieve the increment_id from API, you can retrieve order information with the order_id such as :



        get /V1/orders/order_id



        Response format :



        Usefull information here : incrementId




        "adjustmentNegative": 0,
        "adjustmentPositive": 0,
        "appliedRuleIds": "string",
        "baseAdjustmentNegative": 0,
        "baseAdjustmentPositive": 0,
        "baseCurrencyCode": "string",
        "baseDiscountAmount": 0,
        "baseDiscountCanceled": 0,
        "baseDiscountInvoiced": 0,
        "baseDiscountRefunded": 0,
        "baseGrandTotal": 0,
        "baseDiscountTaxCompensationAmount": 0,
        "baseDiscountTaxCompensationInvoiced": 0,
        "baseDiscountTaxCompensationRefunded": 0,
        "baseShippingAmount": 0,
        "baseShippingCanceled": 0,
        "baseShippingDiscountAmount": 0,
        "baseShippingDiscountTaxCompensationAmnt": 0,
        "baseShippingInclTax": 0,
        "baseShippingInvoiced": 0,
        "baseShippingRefunded": 0,
        "baseShippingTaxAmount": 0,
        "baseShippingTaxRefunded": 0,
        "baseSubtotal": 0,
        "baseSubtotalCanceled": 0,
        "baseSubtotalInclTax": 0,
        "baseSubtotalInvoiced": 0,
        "baseSubtotalRefunded": 0,
        "baseTaxAmount": 0,
        "baseTaxCanceled": 0,
        "baseTaxInvoiced": 0,
        "baseTaxRefunded": 0,
        "baseTotalCanceled": 0,
        "baseTotalDue": 0,
        "baseTotalInvoiced": 0,
        "baseTotalInvoicedCost": 0,
        "baseTotalOfflineRefunded": 0,
        "baseTotalOnlineRefunded": 0,
        "baseTotalPaid": 0,
        "baseTotalQtyOrdered": 0,
        "baseTotalRefunded": 0,
        "baseToGlobalRate": 0,
        "baseToOrderRate": 0,
        "billingAddressId": 0,
        "canShipPartially": 0,
        "canShipPartiallyItem": 0,
        "couponCode": "string",
        "createdAt": "string",
        "customerDob": "string",
        "customerEmail": "string",
        "customerFirstname": "string",
        "customerGender": 0,
        "customerGroupId": 0,
        "customerId": 0,
        "customerIsGuest": 0,
        "customerLastname": "string",
        "customerMiddlename": "string",
        "customerNote": "string",
        "customerNoteNotify": 0,
        "customerPrefix": "string",
        "customerSuffix": "string",
        "customerTaxvat": "string",
        "discountAmount": 0,
        "discountCanceled": 0,
        "discountDescription": "string",
        "discountInvoiced": 0,
        "discountRefunded": 0,
        "editIncrement": 0,
        "emailSent": 0,
        "entityId": 0,
        "extCustomerId": "string",
        "extOrderId": "string",
        "forcedShipmentWithInvoice": 0,
        "globalCurrencyCode": "string",
        "grandTotal": 0,
        "discountTaxCompensationAmount": 0,
        "discountTaxCompensationInvoiced": 0,
        "discountTaxCompensationRefunded": 0,
        "holdBeforeState": "string",
        "holdBeforeStatus": "string",
        "incrementId": "string",
        "isVirtual": 0,
        "orderCurrencyCode": "string",
        "originalIncrementId": "string",
        "paymentAuthorizationAmount": 0,
        "paymentAuthExpiration": 0,
        "protectCode": "string",
        "quoteAddressId": 0,
        "quoteId": 0,
        "relationChildId": "string",
        "relationChildRealId": "string",
        "relationParentId": "string",
        "relationParentRealId": "string",
        "remoteIp": "string",
        "shippingAmount": 0,
        "shippingCanceled": 0,
        "shippingDescription": "string",
        "shippingDiscountAmount": 0,
        "shippingDiscountTaxCompensationAmount": 0,
        "shippingInclTax": 0,
        "shippingInvoiced": 0,
        "shippingRefunded": 0,
        "shippingTaxAmount": 0,
        "shippingTaxRefunded": 0,
        "state": "string",
        "status": "string",
        "storeCurrencyCode": "string",
        "storeId": 0,
        "storeName": "string",
        "storeToBaseRate": 0,
        "storeToOrderRate": 0,
        "subtotal": 0,
        "subtotalCanceled": 0,
        "subtotalInclTax": 0,
        "subtotalInvoiced": 0,
        "subtotalRefunded": 0,
        "taxAmount": 0,
        "taxCanceled": 0,
        "taxInvoiced": 0,
        "taxRefunded": 0,
        "totalCanceled": 0,
        "totalDue": 0,
        "totalInvoiced": 0,
        "totalItemCount": 0,
        "totalOfflineRefunded": 0,
        "totalOnlineRefunded": 0,
        "totalPaid": 0,
        "totalQtyOrdered": 0,
        "totalRefunded": 0,
        "updatedAt": "string",
        "weight": 0,
        "xForwardedFor": "string",
        "items": [

        "additionalData": "string",
        "amountRefunded": 0,
        "appliedRuleIds": "string",
        "baseAmountRefunded": 0,
        "baseCost": 0,
        "baseDiscountAmount": 0,
        "baseDiscountInvoiced": 0,
        "baseDiscountRefunded": 0,
        "baseDiscountTaxCompensationAmount": 0,
        "baseDiscountTaxCompensationInvoiced": 0,
        "baseDiscountTaxCompensationRefunded": 0,
        "baseOriginalPrice": 0,
        "basePrice": 0,
        "basePriceInclTax": 0,
        "baseRowInvoiced": 0,
        "baseRowTotal": 0,
        "baseRowTotalInclTax": 0,
        "baseTaxAmount": 0,
        "baseTaxBeforeDiscount": 0,
        "baseTaxInvoiced": 0,
        "baseTaxRefunded": 0,
        "baseWeeeTaxAppliedAmount": 0,
        "baseWeeeTaxAppliedRowAmnt": 0,
        "baseWeeeTaxDisposition": 0,
        "baseWeeeTaxRowDisposition": 0,
        "createdAt": "string",
        "description": "string",
        "discountAmount": 0,
        "discountInvoiced": 0,
        "discountPercent": 0,
        "discountRefunded": 0,
        "eventId": 0,
        "extOrderItemId": "string",
        "freeShipping": 0,
        "gwBasePrice": 0,
        "gwBasePriceInvoiced": 0,
        "gwBasePriceRefunded": 0,
        "gwBaseTaxAmount": 0,
        "gwBaseTaxAmountInvoiced": 0,
        "gwBaseTaxAmountRefunded": 0,
        "gwId": 0,
        "gwPrice": 0,
        "gwPriceInvoiced": 0,
        "gwPriceRefunded": 0,
        "gwTaxAmount": 0,
        "gwTaxAmountInvoiced": 0,
        "gwTaxAmountRefunded": 0,
        "discountTaxCompensationAmount": 0,
        "discountTaxCompensationCanceled": 0,
        "discountTaxCompensationInvoiced": 0,
        "discountTaxCompensationRefunded": 0,
        "isQtyDecimal": 0,
        "isVirtual": 0,
        "itemId": 0,
        "lockedDoInvoice": 0,
        "lockedDoShip": 0,
        "name": "string",
        "noDiscount": 0,
        "orderId": 0,
        "originalPrice": 0,
        "parentItemId": 0,
        "price": 0,
        "priceInclTax": 0,
        "productId": 0,
        "productType": "string",
        "qtyBackordered": 0,
        "qtyCanceled": 0,
        "qtyInvoiced": 0,
        "qtyOrdered": 0,
        "qtyRefunded": 0,
        "qtyReturned": 0,
        "qtyShipped": 0,
        "quoteItemId": 0,
        "rowInvoiced": 0,
        "rowTotal": 0,
        "rowTotalInclTax": 0,
        "rowWeight": 0,
        "sku": "string",
        "storeId": 0,
        "taxAmount": 0,
        "taxBeforeDiscount": 0,
        "taxCanceled": 0,
        "taxInvoiced": 0,
        "taxPercent": 0,
        "taxRefunded": 0,
        "updatedAt": "string",
        "weeeTaxApplied": "string",
        "weeeTaxAppliedAmount": 0,
        "weeeTaxAppliedRowAmount": 0,
        "weeeTaxDisposition": 0,
        "weeeTaxRowDisposition": 0,
        "weight": 0,
        "parentItem": ,
        "productOption":
        "extensionAttributes":
        "customOptions": [

        "optionId": "string",
        "optionValue": "string",
        "extensionAttributes":
        "fileInfo":
        "base64EncodedData": "string",
        "type": "string",
        "name": "string"



        ],
        "downloadableOption":
        "downloadableLinks": [
        0
        ]
        ,
        "giftcardItemOption":
        "giftcardAmount": 0,
        "customGiftcardAmount": 0,
        "giftcardSenderName": "string",
        "giftcardRecipientName": "string",
        "giftcardSenderEmail": "string",
        "giftcardRecipientEmail": "string",
        "giftcardMessage": "string",
        "extensionAttributes":
        ,
        "configurableItemOptions": [

        "optionId": "string",
        "optionValue": 0,
        "extensionAttributes":

        ],
        "bundleOptions": [

        "optionId": 0,
        "optionQty": 0,
        "optionSelections": [
        0
        ],
        "extensionAttributes":

        ]

        ,
        "extensionAttributes":
        "giftMessage":
        "giftMessageId": 0,
        "customerId": 0,
        "sender": "string",
        "recipient": "string",
        "message": "string",
        "extensionAttributes":
        "entityId": "string",
        "entityType": "string",
        "wrappingId": 0,
        "wrappingAllowGiftReceipt": true,
        "wrappingAddPrintedCard": true




        ],
        "billingAddress":
        "addressType": "string",
        "city": "string",
        "company": "string",
        "countryId": "string",
        "customerAddressId": 0,
        "customerId": 0,
        "email": "string",
        "entityId": 0,
        "fax": "string",
        "firstname": "string",
        "lastname": "string",
        "middlename": "string",
        "parentId": 0,
        "postcode": "string",
        "prefix": "string",
        "region": "string",
        "regionCode": "string",
        "regionId": 0,
        "street": [
        "string"
        ],
        "suffix": "string",
        "telephone": "string",
        "vatId": "string",
        "vatIsValid": 0,
        "vatRequestDate": "string",
        "vatRequestId": "string",
        "vatRequestSuccess": 0,
        "extensionAttributes":
        ,
        "payment":
        "accountStatus": "string",
        "additionalData": "string",
        "additionalInformation": [
        "string"
        ],
        "addressStatus": "string",
        "amountAuthorized": 0,
        "amountCanceled": 0,
        "amountOrdered": 0,
        "amountPaid": 0,
        "amountRefunded": 0,
        "anetTransMethod": "string",
        "baseAmountAuthorized": 0,
        "baseAmountCanceled": 0,
        "baseAmountOrdered": 0,
        "baseAmountPaid": 0,
        "baseAmountPaidOnline": 0,
        "baseAmountRefunded": 0,
        "baseAmountRefundedOnline": 0,
        "baseShippingAmount": 0,
        "baseShippingCaptured": 0,
        "baseShippingRefunded": 0,
        "ccApproval": "string",
        "ccAvsStatus": "string",
        "ccCidStatus": "string",
        "ccDebugRequestBody": "string",
        "ccDebugResponseBody": "string",
        "ccDebugResponseSerialized": "string",
        "ccExpMonth": "string",
        "ccExpYear": "string",
        "ccLast4": "string",
        "ccNumberEnc": "string",
        "ccOwner": "string",
        "ccSecureVerify": "string",
        "ccSsIssue": "string",
        "ccSsStartMonth": "string",
        "ccSsStartYear": "string",
        "ccStatus": "string",
        "ccStatusDescription": "string",
        "ccTransId": "string",
        "ccType": "string",
        "echeckAccountName": "string",
        "echeckAccountType": "string",
        "echeckBankName": "string",
        "echeckRoutingNumber": "string",
        "echeckType": "string",
        "entityId": 0,
        "lastTransId": "string",
        "method": "string",
        "parentId": 0,
        "poNumber": "string",
        "protectionEligibility": "string",
        "quotePaymentId": 0,
        "shippingAmount": 0,
        "shippingCaptured": 0,
        "shippingRefunded": 0,
        "extensionAttributes":
        ,
        "statusHistories": [

        "comment": "string",
        "createdAt": "string",
        "entityId": 0,
        "entityName": "string",
        "isCustomerNotified": 0,
        "isVisibleOnFront": 0,
        "parentId": 0,
        "status": "string",
        "extensionAttributes":

        ],
        "extensionAttributes":
        "shippingAssignments": [

        "shipping":
        "address":
        "addressType": "string",
        "city": "string",
        "company": "string",
        "countryId": "string",
        "customerAddressId": 0,
        "customerId": 0,
        "email": "string",
        "entityId": 0,
        "fax": "string",
        "firstname": "string",
        "lastname": "string",
        "middlename": "string",
        "parentId": 0,
        "postcode": "string",
        "prefix": "string",
        "region": "string",
        "regionCode": "string",
        "regionId": 0,
        "street": [
        "string"
        ],
        "suffix": "string",
        "telephone": "string",
        "vatId": "string",
        "vatIsValid": 0,
        "vatRequestDate": "string",
        "vatRequestId": "string",
        "vatRequestSuccess": 0,
        "extensionAttributes":
        ,
        "method": "string",
        "total":
        "baseShippingAmount": 0,
        "baseShippingCanceled": 0,
        "baseShippingDiscountAmount": 0,
        "baseShippingDiscountTaxCompensationAmnt": 0,
        "baseShippingInclTax": 0,
        "baseShippingInvoiced": 0,
        "baseShippingRefunded": 0,
        "baseShippingTaxAmount": 0,
        "baseShippingTaxRefunded": 0,
        "shippingAmount": 0,
        "shippingCanceled": 0,
        "shippingDiscountAmount": 0,
        "shippingDiscountTaxCompensationAmount": 0,
        "shippingInclTax": 0,
        "shippingInvoiced": 0,
        "shippingRefunded": 0,
        "shippingTaxAmount": 0,
        "shippingTaxRefunded": 0,
        "extensionAttributes":
        ,
        "extensionAttributes":
        ,
        "items": [

        "additionalData": "string",
        "amountRefunded": 0,
        "appliedRuleIds": "string",
        "baseAmountRefunded": 0,
        "baseCost": 0,
        "baseDiscountAmount": 0,
        "baseDiscountInvoiced": 0,
        "baseDiscountRefunded": 0,
        "baseDiscountTaxCompensationAmount": 0,
        "baseDiscountTaxCompensationInvoiced": 0,
        "baseDiscountTaxCompensationRefunded": 0,
        "baseOriginalPrice": 0,
        "basePrice": 0,
        "basePriceInclTax": 0,
        "baseRowInvoiced": 0,
        "baseRowTotal": 0,
        "baseRowTotalInclTax": 0,
        "baseTaxAmount": 0,
        "baseTaxBeforeDiscount": 0,
        "baseTaxInvoiced": 0,
        "baseTaxRefunded": 0,
        "baseWeeeTaxAppliedAmount": 0,
        "baseWeeeTaxAppliedRowAmnt": 0,
        "baseWeeeTaxDisposition": 0,
        "baseWeeeTaxRowDisposition": 0,
        "createdAt": "string",
        "description": "string",
        "discountAmount": 0,
        "discountInvoiced": 0,
        "discountPercent": 0,
        "discountRefunded": 0,
        "eventId": 0,
        "extOrderItemId": "string",
        "freeShipping": 0,
        "gwBasePrice": 0,
        "gwBasePriceInvoiced": 0,
        "gwBasePriceRefunded": 0,
        "gwBaseTaxAmount": 0,
        "gwBaseTaxAmountInvoiced": 0,
        "gwBaseTaxAmountRefunded": 0,
        "gwId": 0,
        "gwPrice": 0,
        "gwPriceInvoiced": 0,
        "gwPriceRefunded": 0,
        "gwTaxAmount": 0,
        "gwTaxAmountInvoiced": 0,
        "gwTaxAmountRefunded": 0,
        "discountTaxCompensationAmount": 0,
        "discountTaxCompensationCanceled": 0,
        "discountTaxCompensationInvoiced": 0,
        "discountTaxCompensationRefunded": 0,
        "isQtyDecimal": 0,
        "isVirtual": 0,
        "itemId": 0,
        "lockedDoInvoice": 0,
        "lockedDoShip": 0,
        "name": "string",
        "noDiscount": 0,
        "orderId": 0,
        "originalPrice": 0,
        "parentItemId": 0,
        "price": 0,
        "priceInclTax": 0,
        "productId": 0,
        "productType": "string",
        "qtyBackordered": 0,
        "qtyCanceled": 0,
        "qtyInvoiced": 0,
        "qtyOrdered": 0,
        "qtyRefunded": 0,
        "qtyReturned": 0,
        "qtyShipped": 0,
        "quoteItemId": 0,
        "rowInvoiced": 0,
        "rowTotal": 0,
        "rowTotalInclTax": 0,
        "rowWeight": 0,
        "sku": "string",
        "storeId": 0,
        "taxAmount": 0,
        "taxBeforeDiscount": 0,
        "taxCanceled": 0,
        "taxInvoiced": 0,
        "taxPercent": 0,
        "taxRefunded": 0,
        "updatedAt": "string",
        "weeeTaxApplied": "string",
        "weeeTaxAppliedAmount": 0,
        "weeeTaxAppliedRowAmount": 0,
        "weeeTaxDisposition": 0,
        "weeeTaxRowDisposition": 0,
        "weight": 0,
        "parentItem": ,
        "productOption":
        "extensionAttributes":
        "customOptions": [

        "optionId": "string",
        "optionValue": "string",
        "extensionAttributes":
        "fileInfo":
        "base64EncodedData": "string",
        "type": "string",
        "name": "string"



        ],
        "downloadableOption":
        "downloadableLinks": [
        0
        ]
        ,
        "giftcardItemOption":
        "giftcardAmount": 0,
        "customGiftcardAmount": 0,
        "giftcardSenderName": "string",
        "giftcardRecipientName": "string",
        "giftcardSenderEmail": "string",
        "giftcardRecipientEmail": "string",
        "giftcardMessage": "string",
        "extensionAttributes":
        ,
        "configurableItemOptions": [

        "optionId": "string",
        "optionValue": 0,
        "extensionAttributes":

        ],
        "bundleOptions": [

        "optionId": 0,
        "optionQty": 0,
        "optionSelections": [
        0
        ],
        "extensionAttributes":

        ]

        ,
        "extensionAttributes":
        "giftMessage":
        "giftMessageId": 0,
        "customerId": 0,
        "sender": "string",
        "recipient": "string",
        "message": "string",
        "extensionAttributes":
        "entityId": "string",
        "entityType": "string",
        "wrappingId": 0,
        "wrappingAllowGiftReceipt": true,
        "wrappingAddPrintedCard": true




        ],
        "stockId": 0,
        "extensionAttributes":

        ],
        "appliedTaxes": [

        "code": "string",
        "title": "string",
        "percent": 0,
        "amount": 0,
        "baseAmount": 0,
        "extensionAttributes":

        ],
        "itemAppliedTaxes": [

        "type": "string",
        "itemId": 0,
        "associatedItemId": 0,
        "appliedTaxes": [

        "code": "string",
        "title": "string",
        "percent": 0,
        "amount": 0,
        "baseAmount": 0,
        "extensionAttributes":

        ],
        "extensionAttributes":

        ],
        "convertingFromQuote": true,
        "giftMessage":
        "giftMessageId": 0,
        "customerId": 0,
        "sender": "string",
        "recipient": "string",
        "message": "string",
        "extensionAttributes":
        "entityId": "string",
        "entityType": "string",
        "wrappingId": 0,
        "wrappingAllowGiftReceipt": true,
        "wrappingAddPrintedCard": true

        ,
        "gwId": "string",
        "gwAllowGiftReceipt": "string",
        "gwAddCard": "string",
        "gwPrice": "string",
        "gwBasePrice": "string",
        "gwItemsPrice": "string",
        "gwItemsBasePrice": "string",
        "gwCardPrice": "string",
        "gwCardBasePrice": "string",
        "gwBaseTaxAmount": "string",
        "gwTaxAmount": "string",
        "gwItemsBaseTaxAmount": "string",
        "gwItemsTaxAmount": "string",
        "gwCardBaseTaxAmount": "string",
        "gwCardTaxAmount": "string",
        "gwPriceInclTax": "string",
        "gwBasePriceInclTax": "string",
        "gwCardPriceInclTax": "string",
        "gwCardBasePriceInclTax": "string",
        "gwItemsPriceInclTax": "string",
        "gwItemsBasePriceInclTax": "string"







        share|improve this answer













        When you place an order, Magento will reserve/assign an increment_id for the order_id.



        The increment_id is generated thanks to the primary autoincrement key of this table : sequence_order_1. Where 1 is the store_id.



        So the increment_id and the order_id is not the same value.



        The increment_id is the ID displayed for the customer.



        In order to retrieve the increment_id from API, you can retrieve order information with the order_id such as :



        get /V1/orders/order_id



        Response format :



        Usefull information here : incrementId




        "adjustmentNegative": 0,
        "adjustmentPositive": 0,
        "appliedRuleIds": "string",
        "baseAdjustmentNegative": 0,
        "baseAdjustmentPositive": 0,
        "baseCurrencyCode": "string",
        "baseDiscountAmount": 0,
        "baseDiscountCanceled": 0,
        "baseDiscountInvoiced": 0,
        "baseDiscountRefunded": 0,
        "baseGrandTotal": 0,
        "baseDiscountTaxCompensationAmount": 0,
        "baseDiscountTaxCompensationInvoiced": 0,
        "baseDiscountTaxCompensationRefunded": 0,
        "baseShippingAmount": 0,
        "baseShippingCanceled": 0,
        "baseShippingDiscountAmount": 0,
        "baseShippingDiscountTaxCompensationAmnt": 0,
        "baseShippingInclTax": 0,
        "baseShippingInvoiced": 0,
        "baseShippingRefunded": 0,
        "baseShippingTaxAmount": 0,
        "baseShippingTaxRefunded": 0,
        "baseSubtotal": 0,
        "baseSubtotalCanceled": 0,
        "baseSubtotalInclTax": 0,
        "baseSubtotalInvoiced": 0,
        "baseSubtotalRefunded": 0,
        "baseTaxAmount": 0,
        "baseTaxCanceled": 0,
        "baseTaxInvoiced": 0,
        "baseTaxRefunded": 0,
        "baseTotalCanceled": 0,
        "baseTotalDue": 0,
        "baseTotalInvoiced": 0,
        "baseTotalInvoicedCost": 0,
        "baseTotalOfflineRefunded": 0,
        "baseTotalOnlineRefunded": 0,
        "baseTotalPaid": 0,
        "baseTotalQtyOrdered": 0,
        "baseTotalRefunded": 0,
        "baseToGlobalRate": 0,
        "baseToOrderRate": 0,
        "billingAddressId": 0,
        "canShipPartially": 0,
        "canShipPartiallyItem": 0,
        "couponCode": "string",
        "createdAt": "string",
        "customerDob": "string",
        "customerEmail": "string",
        "customerFirstname": "string",
        "customerGender": 0,
        "customerGroupId": 0,
        "customerId": 0,
        "customerIsGuest": 0,
        "customerLastname": "string",
        "customerMiddlename": "string",
        "customerNote": "string",
        "customerNoteNotify": 0,
        "customerPrefix": "string",
        "customerSuffix": "string",
        "customerTaxvat": "string",
        "discountAmount": 0,
        "discountCanceled": 0,
        "discountDescription": "string",
        "discountInvoiced": 0,
        "discountRefunded": 0,
        "editIncrement": 0,
        "emailSent": 0,
        "entityId": 0,
        "extCustomerId": "string",
        "extOrderId": "string",
        "forcedShipmentWithInvoice": 0,
        "globalCurrencyCode": "string",
        "grandTotal": 0,
        "discountTaxCompensationAmount": 0,
        "discountTaxCompensationInvoiced": 0,
        "discountTaxCompensationRefunded": 0,
        "holdBeforeState": "string",
        "holdBeforeStatus": "string",
        "incrementId": "string",
        "isVirtual": 0,
        "orderCurrencyCode": "string",
        "originalIncrementId": "string",
        "paymentAuthorizationAmount": 0,
        "paymentAuthExpiration": 0,
        "protectCode": "string",
        "quoteAddressId": 0,
        "quoteId": 0,
        "relationChildId": "string",
        "relationChildRealId": "string",
        "relationParentId": "string",
        "relationParentRealId": "string",
        "remoteIp": "string",
        "shippingAmount": 0,
        "shippingCanceled": 0,
        "shippingDescription": "string",
        "shippingDiscountAmount": 0,
        "shippingDiscountTaxCompensationAmount": 0,
        "shippingInclTax": 0,
        "shippingInvoiced": 0,
        "shippingRefunded": 0,
        "shippingTaxAmount": 0,
        "shippingTaxRefunded": 0,
        "state": "string",
        "status": "string",
        "storeCurrencyCode": "string",
        "storeId": 0,
        "storeName": "string",
        "storeToBaseRate": 0,
        "storeToOrderRate": 0,
        "subtotal": 0,
        "subtotalCanceled": 0,
        "subtotalInclTax": 0,
        "subtotalInvoiced": 0,
        "subtotalRefunded": 0,
        "taxAmount": 0,
        "taxCanceled": 0,
        "taxInvoiced": 0,
        "taxRefunded": 0,
        "totalCanceled": 0,
        "totalDue": 0,
        "totalInvoiced": 0,
        "totalItemCount": 0,
        "totalOfflineRefunded": 0,
        "totalOnlineRefunded": 0,
        "totalPaid": 0,
        "totalQtyOrdered": 0,
        "totalRefunded": 0,
        "updatedAt": "string",
        "weight": 0,
        "xForwardedFor": "string",
        "items": [

        "additionalData": "string",
        "amountRefunded": 0,
        "appliedRuleIds": "string",
        "baseAmountRefunded": 0,
        "baseCost": 0,
        "baseDiscountAmount": 0,
        "baseDiscountInvoiced": 0,
        "baseDiscountRefunded": 0,
        "baseDiscountTaxCompensationAmount": 0,
        "baseDiscountTaxCompensationInvoiced": 0,
        "baseDiscountTaxCompensationRefunded": 0,
        "baseOriginalPrice": 0,
        "basePrice": 0,
        "basePriceInclTax": 0,
        "baseRowInvoiced": 0,
        "baseRowTotal": 0,
        "baseRowTotalInclTax": 0,
        "baseTaxAmount": 0,
        "baseTaxBeforeDiscount": 0,
        "baseTaxInvoiced": 0,
        "baseTaxRefunded": 0,
        "baseWeeeTaxAppliedAmount": 0,
        "baseWeeeTaxAppliedRowAmnt": 0,
        "baseWeeeTaxDisposition": 0,
        "baseWeeeTaxRowDisposition": 0,
        "createdAt": "string",
        "description": "string",
        "discountAmount": 0,
        "discountInvoiced": 0,
        "discountPercent": 0,
        "discountRefunded": 0,
        "eventId": 0,
        "extOrderItemId": "string",
        "freeShipping": 0,
        "gwBasePrice": 0,
        "gwBasePriceInvoiced": 0,
        "gwBasePriceRefunded": 0,
        "gwBaseTaxAmount": 0,
        "gwBaseTaxAmountInvoiced": 0,
        "gwBaseTaxAmountRefunded": 0,
        "gwId": 0,
        "gwPrice": 0,
        "gwPriceInvoiced": 0,
        "gwPriceRefunded": 0,
        "gwTaxAmount": 0,
        "gwTaxAmountInvoiced": 0,
        "gwTaxAmountRefunded": 0,
        "discountTaxCompensationAmount": 0,
        "discountTaxCompensationCanceled": 0,
        "discountTaxCompensationInvoiced": 0,
        "discountTaxCompensationRefunded": 0,
        "isQtyDecimal": 0,
        "isVirtual": 0,
        "itemId": 0,
        "lockedDoInvoice": 0,
        "lockedDoShip": 0,
        "name": "string",
        "noDiscount": 0,
        "orderId": 0,
        "originalPrice": 0,
        "parentItemId": 0,
        "price": 0,
        "priceInclTax": 0,
        "productId": 0,
        "productType": "string",
        "qtyBackordered": 0,
        "qtyCanceled": 0,
        "qtyInvoiced": 0,
        "qtyOrdered": 0,
        "qtyRefunded": 0,
        "qtyReturned": 0,
        "qtyShipped": 0,
        "quoteItemId": 0,
        "rowInvoiced": 0,
        "rowTotal": 0,
        "rowTotalInclTax": 0,
        "rowWeight": 0,
        "sku": "string",
        "storeId": 0,
        "taxAmount": 0,
        "taxBeforeDiscount": 0,
        "taxCanceled": 0,
        "taxInvoiced": 0,
        "taxPercent": 0,
        "taxRefunded": 0,
        "updatedAt": "string",
        "weeeTaxApplied": "string",
        "weeeTaxAppliedAmount": 0,
        "weeeTaxAppliedRowAmount": 0,
        "weeeTaxDisposition": 0,
        "weeeTaxRowDisposition": 0,
        "weight": 0,
        "parentItem": ,
        "productOption":
        "extensionAttributes":
        "customOptions": [

        "optionId": "string",
        "optionValue": "string",
        "extensionAttributes":
        "fileInfo":
        "base64EncodedData": "string",
        "type": "string",
        "name": "string"



        ],
        "downloadableOption":
        "downloadableLinks": [
        0
        ]
        ,
        "giftcardItemOption":
        "giftcardAmount": 0,
        "customGiftcardAmount": 0,
        "giftcardSenderName": "string",
        "giftcardRecipientName": "string",
        "giftcardSenderEmail": "string",
        "giftcardRecipientEmail": "string",
        "giftcardMessage": "string",
        "extensionAttributes":
        ,
        "configurableItemOptions": [

        "optionId": "string",
        "optionValue": 0,
        "extensionAttributes":

        ],
        "bundleOptions": [

        "optionId": 0,
        "optionQty": 0,
        "optionSelections": [
        0
        ],
        "extensionAttributes":

        ]

        ,
        "extensionAttributes":
        "giftMessage":
        "giftMessageId": 0,
        "customerId": 0,
        "sender": "string",
        "recipient": "string",
        "message": "string",
        "extensionAttributes":
        "entityId": "string",
        "entityType": "string",
        "wrappingId": 0,
        "wrappingAllowGiftReceipt": true,
        "wrappingAddPrintedCard": true




        ],
        "billingAddress":
        "addressType": "string",
        "city": "string",
        "company": "string",
        "countryId": "string",
        "customerAddressId": 0,
        "customerId": 0,
        "email": "string",
        "entityId": 0,
        "fax": "string",
        "firstname": "string",
        "lastname": "string",
        "middlename": "string",
        "parentId": 0,
        "postcode": "string",
        "prefix": "string",
        "region": "string",
        "regionCode": "string",
        "regionId": 0,
        "street": [
        "string"
        ],
        "suffix": "string",
        "telephone": "string",
        "vatId": "string",
        "vatIsValid": 0,
        "vatRequestDate": "string",
        "vatRequestId": "string",
        "vatRequestSuccess": 0,
        "extensionAttributes":
        ,
        "payment":
        "accountStatus": "string",
        "additionalData": "string",
        "additionalInformation": [
        "string"
        ],
        "addressStatus": "string",
        "amountAuthorized": 0,
        "amountCanceled": 0,
        "amountOrdered": 0,
        "amountPaid": 0,
        "amountRefunded": 0,
        "anetTransMethod": "string",
        "baseAmountAuthorized": 0,
        "baseAmountCanceled": 0,
        "baseAmountOrdered": 0,
        "baseAmountPaid": 0,
        "baseAmountPaidOnline": 0,
        "baseAmountRefunded": 0,
        "baseAmountRefundedOnline": 0,
        "baseShippingAmount": 0,
        "baseShippingCaptured": 0,
        "baseShippingRefunded": 0,
        "ccApproval": "string",
        "ccAvsStatus": "string",
        "ccCidStatus": "string",
        "ccDebugRequestBody": "string",
        "ccDebugResponseBody": "string",
        "ccDebugResponseSerialized": "string",
        "ccExpMonth": "string",
        "ccExpYear": "string",
        "ccLast4": "string",
        "ccNumberEnc": "string",
        "ccOwner": "string",
        "ccSecureVerify": "string",
        "ccSsIssue": "string",
        "ccSsStartMonth": "string",
        "ccSsStartYear": "string",
        "ccStatus": "string",
        "ccStatusDescription": "string",
        "ccTransId": "string",
        "ccType": "string",
        "echeckAccountName": "string",
        "echeckAccountType": "string",
        "echeckBankName": "string",
        "echeckRoutingNumber": "string",
        "echeckType": "string",
        "entityId": 0,
        "lastTransId": "string",
        "method": "string",
        "parentId": 0,
        "poNumber": "string",
        "protectionEligibility": "string",
        "quotePaymentId": 0,
        "shippingAmount": 0,
        "shippingCaptured": 0,
        "shippingRefunded": 0,
        "extensionAttributes":
        ,
        "statusHistories": [

        "comment": "string",
        "createdAt": "string",
        "entityId": 0,
        "entityName": "string",
        "isCustomerNotified": 0,
        "isVisibleOnFront": 0,
        "parentId": 0,
        "status": "string",
        "extensionAttributes":

        ],
        "extensionAttributes":
        "shippingAssignments": [

        "shipping":
        "address":
        "addressType": "string",
        "city": "string",
        "company": "string",
        "countryId": "string",
        "customerAddressId": 0,
        "customerId": 0,
        "email": "string",
        "entityId": 0,
        "fax": "string",
        "firstname": "string",
        "lastname": "string",
        "middlename": "string",
        "parentId": 0,
        "postcode": "string",
        "prefix": "string",
        "region": "string",
        "regionCode": "string",
        "regionId": 0,
        "street": [
        "string"
        ],
        "suffix": "string",
        "telephone": "string",
        "vatId": "string",
        "vatIsValid": 0,
        "vatRequestDate": "string",
        "vatRequestId": "string",
        "vatRequestSuccess": 0,
        "extensionAttributes":
        ,
        "method": "string",
        "total":
        "baseShippingAmount": 0,
        "baseShippingCanceled": 0,
        "baseShippingDiscountAmount": 0,
        "baseShippingDiscountTaxCompensationAmnt": 0,
        "baseShippingInclTax": 0,
        "baseShippingInvoiced": 0,
        "baseShippingRefunded": 0,
        "baseShippingTaxAmount": 0,
        "baseShippingTaxRefunded": 0,
        "shippingAmount": 0,
        "shippingCanceled": 0,
        "shippingDiscountAmount": 0,
        "shippingDiscountTaxCompensationAmount": 0,
        "shippingInclTax": 0,
        "shippingInvoiced": 0,
        "shippingRefunded": 0,
        "shippingTaxAmount": 0,
        "shippingTaxRefunded": 0,
        "extensionAttributes":
        ,
        "extensionAttributes":
        ,
        "items": [

        "additionalData": "string",
        "amountRefunded": 0,
        "appliedRuleIds": "string",
        "baseAmountRefunded": 0,
        "baseCost": 0,
        "baseDiscountAmount": 0,
        "baseDiscountInvoiced": 0,
        "baseDiscountRefunded": 0,
        "baseDiscountTaxCompensationAmount": 0,
        "baseDiscountTaxCompensationInvoiced": 0,
        "baseDiscountTaxCompensationRefunded": 0,
        "baseOriginalPrice": 0,
        "basePrice": 0,
        "basePriceInclTax": 0,
        "baseRowInvoiced": 0,
        "baseRowTotal": 0,
        "baseRowTotalInclTax": 0,
        "baseTaxAmount": 0,
        "baseTaxBeforeDiscount": 0,
        "baseTaxInvoiced": 0,
        "baseTaxRefunded": 0,
        "baseWeeeTaxAppliedAmount": 0,
        "baseWeeeTaxAppliedRowAmnt": 0,
        "baseWeeeTaxDisposition": 0,
        "baseWeeeTaxRowDisposition": 0,
        "createdAt": "string",
        "description": "string",
        "discountAmount": 0,
        "discountInvoiced": 0,
        "discountPercent": 0,
        "discountRefunded": 0,
        "eventId": 0,
        "extOrderItemId": "string",
        "freeShipping": 0,
        "gwBasePrice": 0,
        "gwBasePriceInvoiced": 0,
        "gwBasePriceRefunded": 0,
        "gwBaseTaxAmount": 0,
        "gwBaseTaxAmountInvoiced": 0,
        "gwBaseTaxAmountRefunded": 0,
        "gwId": 0,
        "gwPrice": 0,
        "gwPriceInvoiced": 0,
        "gwPriceRefunded": 0,
        "gwTaxAmount": 0,
        "gwTaxAmountInvoiced": 0,
        "gwTaxAmountRefunded": 0,
        "discountTaxCompensationAmount": 0,
        "discountTaxCompensationCanceled": 0,
        "discountTaxCompensationInvoiced": 0,
        "discountTaxCompensationRefunded": 0,
        "isQtyDecimal": 0,
        "isVirtual": 0,
        "itemId": 0,
        "lockedDoInvoice": 0,
        "lockedDoShip": 0,
        "name": "string",
        "noDiscount": 0,
        "orderId": 0,
        "originalPrice": 0,
        "parentItemId": 0,
        "price": 0,
        "priceInclTax": 0,
        "productId": 0,
        "productType": "string",
        "qtyBackordered": 0,
        "qtyCanceled": 0,
        "qtyInvoiced": 0,
        "qtyOrdered": 0,
        "qtyRefunded": 0,
        "qtyReturned": 0,
        "qtyShipped": 0,
        "quoteItemId": 0,
        "rowInvoiced": 0,
        "rowTotal": 0,
        "rowTotalInclTax": 0,
        "rowWeight": 0,
        "sku": "string",
        "storeId": 0,
        "taxAmount": 0,
        "taxBeforeDiscount": 0,
        "taxCanceled": 0,
        "taxInvoiced": 0,
        "taxPercent": 0,
        "taxRefunded": 0,
        "updatedAt": "string",
        "weeeTaxApplied": "string",
        "weeeTaxAppliedAmount": 0,
        "weeeTaxAppliedRowAmount": 0,
        "weeeTaxDisposition": 0,
        "weeeTaxRowDisposition": 0,
        "weight": 0,
        "parentItem": ,
        "productOption":
        "extensionAttributes":
        "customOptions": [

        "optionId": "string",
        "optionValue": "string",
        "extensionAttributes":
        "fileInfo":
        "base64EncodedData": "string",
        "type": "string",
        "name": "string"



        ],
        "downloadableOption":
        "downloadableLinks": [
        0
        ]
        ,
        "giftcardItemOption":
        "giftcardAmount": 0,
        "customGiftcardAmount": 0,
        "giftcardSenderName": "string",
        "giftcardRecipientName": "string",
        "giftcardSenderEmail": "string",
        "giftcardRecipientEmail": "string",
        "giftcardMessage": "string",
        "extensionAttributes":
        ,
        "configurableItemOptions": [

        "optionId": "string",
        "optionValue": 0,
        "extensionAttributes":

        ],
        "bundleOptions": [

        "optionId": 0,
        "optionQty": 0,
        "optionSelections": [
        0
        ],
        "extensionAttributes":

        ]

        ,
        "extensionAttributes":
        "giftMessage":
        "giftMessageId": 0,
        "customerId": 0,
        "sender": "string",
        "recipient": "string",
        "message": "string",
        "extensionAttributes":
        "entityId": "string",
        "entityType": "string",
        "wrappingId": 0,
        "wrappingAllowGiftReceipt": true,
        "wrappingAddPrintedCard": true




        ],
        "stockId": 0,
        "extensionAttributes":

        ],
        "appliedTaxes": [

        "code": "string",
        "title": "string",
        "percent": 0,
        "amount": 0,
        "baseAmount": 0,
        "extensionAttributes":

        ],
        "itemAppliedTaxes": [

        "type": "string",
        "itemId": 0,
        "associatedItemId": 0,
        "appliedTaxes": [

        "code": "string",
        "title": "string",
        "percent": 0,
        "amount": 0,
        "baseAmount": 0,
        "extensionAttributes":

        ],
        "extensionAttributes":

        ],
        "convertingFromQuote": true,
        "giftMessage":
        "giftMessageId": 0,
        "customerId": 0,
        "sender": "string",
        "recipient": "string",
        "message": "string",
        "extensionAttributes":
        "entityId": "string",
        "entityType": "string",
        "wrappingId": 0,
        "wrappingAllowGiftReceipt": true,
        "wrappingAddPrintedCard": true

        ,
        "gwId": "string",
        "gwAllowGiftReceipt": "string",
        "gwAddCard": "string",
        "gwPrice": "string",
        "gwBasePrice": "string",
        "gwItemsPrice": "string",
        "gwItemsBasePrice": "string",
        "gwCardPrice": "string",
        "gwCardBasePrice": "string",
        "gwBaseTaxAmount": "string",
        "gwTaxAmount": "string",
        "gwItemsBaseTaxAmount": "string",
        "gwItemsTaxAmount": "string",
        "gwCardBaseTaxAmount": "string",
        "gwCardTaxAmount": "string",
        "gwPriceInclTax": "string",
        "gwBasePriceInclTax": "string",
        "gwCardPriceInclTax": "string",
        "gwCardBasePriceInclTax": "string",
        "gwItemsPriceInclTax": "string",
        "gwItemsBasePriceInclTax": "string"








        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 18 '17 at 10:31









        Franck GarnierFranck Garnier

        2,091926




        2,091926



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f170551%2fpulling-order-ids-via-rest-api-in-magento-2-0%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Jet Time Laivasto | Lähteet | Aiheesta muualla | NavigointivalikkoJet Time - The CompanyThe CompanyManagementJet Time aloittaa lauantaina Suomi-rekisterissä olevalla Boeing 737 -koneellaJettime Finland Fleet Details and HistoryJettime Fleet Details and HistoryRegional Jet OÜ takes over ATR production for SASJet Time Returns To Its Core BusinessYhtiön kotisivutlaajentamalla

            Olympian arkeologinen museo Sisällysluettelo Historia ja rakennus | Kokoelmat | Lähteet | Aiheesta muualla | Navigointivalikko37°38′36″N, 21°37′46″EInfobox OKArchaeological Museum of Olympia: HistoryArchaeological Museum of Olympia: DescriptionΜουσείο Ιστορίας των Ολυμπιακών Αγώνων της Αρχαιότητας: ΙστορικόArchaeological Museum of Olympia

            Äpy Sisällysluettelo Äpyt kautta historian | Esimerkkejä Äpy-huumorista | Katso myös | Kirjallisuutta | Aiheesta muualla | Navigointivalikkowww.äpy.fi