Versions Compared

Key

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

...

Code Block
titleExample response body
{
   "_links" : {
      "self" : {
         "href" : "https://api.order.boknett.no/orders/e8978f1f-4c60-4938-8aee-55179bf3d5de"
      },
      "editx" : {
         "href" : "https://api.order.boknett.no/orders/e8978f1f-4c60-4938-8aee-55179bf3d5de/editx"
      }
   },
   "status" : "SENT",
   "seller" : "900877",
   "_embedded" : {
      "lines" : [
         {
            "status" : "SENT",
            "id" : 1,
            "quantity" : 4
         }
      ]
   },
   "buyer" : "116",
   "created" : "2016-02-01Z14:31:14",
   "buyerOrderNumber" : "99999997",
   "orderId" : "e8978f1f-4c60-4938-8aee-55179bf3d5de"
}  

 

Possible values for line status

ValueDescription
SENTInitial status: Bokbasen's order system has processed the order with no errors and the item is available for the seller in the API
PROCESSINGBokbasen's order system has received the order and is processing it (only visible to the sender of an order)
FAILEDBokbasen's order system was not able to process the order and it failed, contact Bokbasen for details (only visible to the sender of an order).
FULFILLEDThe order line is delivered to the end customer.
FULFILLED_BLOCKEDThe order line is delivered to the end customer and the seller does not allow any changes to be made to this line.
RECEIVEDThe order line is received by the seller party
REJECTEDThe seller does not accept this order lines, it is highly recommended that you also provide a comment when using this status.

Get Order EDItX document

Get the EDItX XML representation of a given order based on Bokbasen's order-ID.

...