Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

languagec#
titleExample
linenumberstrue

...


Get order with ID 145 as PDF

Code Block
languagec#
titleExample
linenumberstrue
POST http://localhost:1260/odata/v1/Orders(145)/Pdf

Get order items of order with ID 15 including product data

Code Block
languagec#
titleExample
linenumberstrue
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
languagec#
titleExample
linenumberstrue
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
languagec#
titleExample
linenumberstrue
GET http://localhost:1260/odata/v1/Orders?$top=120&$filter=OrderNotes/all(ordernote: ordernote/Note ne 'mystring')