# Orders

### Ändere die Prioritätsstufe des Auftrags

```javascript
GET /api/order/{id}/prio/{prio}
```

**Properties**

***

id *<mark style="color:purple;">integer</mark>*

Die Shopify-Bestell-ID der Sendung

prio *<mark style="color:purple;">integer</mark>*

Der Prioritätswert, den der Auftrag haben soll. Mögliche values \[0 = No Priority, 1 = Priority]

***

**Result**

JSON-Object die einen Betriebsstatus und eine von Menschen lesbare Nachricht enthalten

status *<mark style="color:purple;">integer</mark>*

Statuscode des Prio-Status bearbeiten

msg *<mark style="color:purple;">string</mark>*

Eine von Menschen lesbare Nachricht über die Statusänderung

```json
{
    "status": 200,
    "msg": "Prio Status changed"
}
```

***

### Ändere den Status „Fulfillment der Bestellung anhalten“.

```javascript
GET /api/order/{id}/hold/{hold}
```

**Properties**

***

id *<mark style="color:purple;">integer</mark>*

Die Shopify-Bestell-ID der Sendung

hold *<mark style="color:purple;">integer</mark>*

Der Fulfillment anhalten Wert, den der Auftrag haben soll. Mögliche values \[0 = No Fulfillment Hold, 1 = Fulfillment on Hold, 2 = No Fulfillment hold and display message that address errors have been verified by customer service]

***

**Result**

JSON-Object die einen Betriebsstatus und eine von Menschen lesbare Nachricht enthalten

status *<mark style="color:purple;">integer</mark>*

Statuscode des Prio-Status bearbeiten

msg *<mark style="color:purple;">string</mark>*

Eine von Menschen lesbare Nachricht über die Statusänderung

```json
{
    "status": 200,
    "msg": "Hold Status changed"
}

```

***

### Abrufen der Extras, die einem Auftrag zugeordnet sind

```javascript
GET /api/order/{id}/extras
```

**Properties**

***

id *<mark style="color:purple;">integer</mark>*

Die Shopify-Bestell-ID der Sendung

***

**Result**

JSON-Array mit den Extras, die der Bestellung während des Imports und der Shopify-Aktualisierungsmeldungen zugewiesen wurden

id *<mark style="color:purple;">integer</mark>*

Eine eindeutige Kennzeichnung für die zusätzliche Zuweisung

name *<mark style="color:purple;">string</mark>*

Der konfigurierte Name des Extras

barcode *<mark style="color:purple;">string</mark>*

Der entsprechende Barcode des Extras, der bei der Erfüllung gescannt wird

```json
[
    {
        "id": 42,
        "name": "Test 1",
        "barcode": null
    },
    {
        "id": 108,
        "name": "Test 2",
        "barcode": "E12345"
    }
]
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.packstack.de/api-schnittstelle/orders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
