Versions Compared

Key

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

...

Code Block
languagebash
curl -i \
     -H "Accept: application/json" \
     -H "Content-Type: application/json" \
     -H "Authorization: Bearer <token>" \
     -d '{"orderid":"my-stores-order-id4","resid":"18C8075F-C8B9-4029-9747-7C7F2CFB5CFA","spd":"18900","firstname":"Ola","lastname":"Nordmann"}' \
     "https://api.bokbasen.io/dds/order/v1"
 
HTTP/1.1 201 Created
Location: https://api.bokbasen.io/dds/content/v1/30311730-6bb0-43a1-809f-18735edec150

Example (curl) 
Status
colourYellow
titlelegacy

...

example

Successful creation of an order for a book that does not have social DRM

...