latestOpenAPI 3.0.12026-08-101292701.1 MB

f21981db32be

Fulfillment Orders

Gets a Fulfillment order by ID

Retrieves the details of a Fulfillment order. You must supply the unique identifier of the Fulfillment order.

get/fulfillment-orders/{id}

Path parameters

idstring required

Fulfillment order identifier.

Response

OK.

idnumber

The unique identifier of the fulfillment order.

createdTimestring date-time

The time when the fulfillment order was created.

currencystring

A three-letter ISO currency code.

localestring

A locale designator that combines a two-letter ISO 639-1 language code with a ISO 3166-1 alpha-2 country code.

upstreamOrderTimestring date-time

The time at which the upstream order was created.

namestring

The customer's name.

emailstring email

The customer's email address.

phonestring

The customer's phone number.

reservationIdstring

An inventory reservation identifier.

upstreamIdstring

The upstream order identifier.

state'pending' | 'cancelled' | 'shipped'

The current state of the fulfillment order.

liveModeboolean

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

metadataMetadata

Key-value pairs used to store additional data. Value can be string, boolean or integer types.

Example response

{
  "id": 9292981838,
  "createdTime": "2018-04-25T20:36:00Z",
  "currency": "USD",
  "locale": "en_US",
  "upstreamOrderTime": "2018-04-25T20:36:00Z",
  "name": "John Smith",
  "email": "jsmith@digitalriver.com",
  "phone": "612-258-1966",
  "reservationId": "7765374748",
  "upstreamId": "7765374748",
  "shipTo": {
    "address": {
      "line1": "10380 Bren Rd W",
      "city": "Minnetonka",
      "postalCode": "55129",
      "state": "MN",
      "country": "US"
    },
    "name": "John Smith",
    "phone": "952-111-1111",
    "email": "jsmith@digitalriver.com",
    "organization": "Digital River",
    "additionalAddressInfo": {
      "neighborhood": "Centro",
      "division": "営業部",
      "phoneticName": "ヤマダ タロ"
    }
  },
  "shippingChoice": {
    "shippingInstructions": ".",
    "id": "SG"
  },
  "items": [
    {
      "id": 449838789,
      "upstreamId": "123",
      "inventoryItemId": "abc",
      "shipping": 5,
      "subtotal": 10,
      "total": 10,
      "name": ".",
      "quantity": 1,
      "pending": 1,
      "giftMessage": ".",
      "tax": {
        "items": [
          {
            "authorityType": "City",
            "amount": 9.99
          }
        ],
        "amount": 9.99
      },
      "state": "pending",
      "metadata": {
        "coupon": "iOS"
      }
    }
  ],
  "state": "pending",
  "metadata": {
    "coupon": "iOS"
  }
}