Get shipping address for order with ID 145
...
This request is called OData navigation. Use BillingAddress
if you want the billing address of an order to be returned.
Get order by its GUID
...
language | c# |
---|
title | Example |
---|
linenumbers | true |
---|
...
Get order with ID 145 as PDF
Code Block |
---|
language | c# |
---|
title | Example |
---|
linenumbers | true |
---|
|
POST http://localhost:1260/odata/v1/Orders(145)/Pdf |
Get order items of order with ID 15 including product data
Code Block |
---|
language | c# |
---|
title | Example |
---|
linenumbers | true |
---|
|
GET http://localhost:1260/odata/v1/OrderItems?$top=120&$filter=OrderId eq 15&$expand=Product |
Get all orders with the order note "mystring"
Code Block |
---|
language | c# |
---|
title | Example |
---|
linenumbers | true |
---|
|
GET http://localhost:1260/odata/v1/Orders?$top=120&$filter=OrderNotes/any(ordernote: ordernote/Note eq 'mystring') |
Get all orders without the order note "mystring"
Code Block |
---|
language | c# |
---|
title | Example |
---|
linenumbers | true |
---|
|
GET http://localhost:1260/odata/v1/Orders?$top=120&$filter=OrderNotes/all(ordernote: ordernote/Note ne 'mystring') |