Set order serials
PUT
/ admin/ v1/ stores/ {store_id}/ orders/ {order_id}/ serialsRecord the serial numbers of shipped units, line by line.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.order_idstringrequiredThe order's ID, like
ord_01k8qs5s….
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
linesarray of objectsrequired
Returns
200 The order's serials now.
Errors
- 422
validation_failedMore serials than units shipped, or one too long.