Fulfillment returns

When Digital River coordinates an order's physical fulfillment, you can use the Fulfillment Returns API to manage the return process.

Gets a fulfillment return by its unique identifier

get

Retrieves a fulfillment return. Supply the unique identifier of the return.

Path parameters
idstringRequired

Return ID

Responses
chevron-right
200

OK.

application/json
idstringRead-onlyOptional

The unique identifier for the fulfillment return.

Example: ret_5823594809
createdTimestring · date-timeRead-onlyOptional

The time when the fulfillment return was created.

Example: {"offset":{"totalSeconds":0,"id":"Z","rules":{"fixedOffset":true,"transitions":[],"transitionRules":[]}},"nano":0,"year":2018,"monthValue":4,"dayOfMonth":25,"hour":20,"minute":36,"second":0,"dayOfWeek":"WEDNESDAY","dayOfYear":115,"month":"APRIL"}
fulfillmentOrderIdstringRead-onlyOptional

The unique identifier of the fulfillment order associated with the fulfillment return.

Example: ord_6645940010
upstreamIdstringRead-onlyOptional

The unique identifier of the upstream order.

Example: ord_6645940010
reasonstringOptional

The reason for the return.

Example: requested_by_customer
statestring · enumOptional

An enumeration indicating the state of the fulfillment return.

Example: pendingPossible values:
typestring · enumOptional

An enumeration indicating the type of the fulfillment return.

Example: clientPossible values:
livemodebooleanOptional

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

Example: false
get
/fulfillment-returns/{id}

Gets a Fulfillment by unique identifier

get

Retrieves the details of a Fulfillment.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The unique identifier of a Fulfillment.

Responses
chevron-right
200

OK.

application/json
idstringRead-onlyOptional

The unique identifier of the Fulfillment.

Example: ful_25c651d0-8079-48d7-b22e-eb1e2f451966
createdTimestring · date-timeRead-onlyOptional

The time when the Fulfillment was created.

Example: {"offset":{"totalSeconds":0,"id":"Z","rules":{"fixedOffset":true,"transitions":[],"transitionRules":[]}},"nano":0,"year":2018,"monthValue":4,"dayOfMonth":25,"hour":20,"minute":36,"second":0,"dayOfWeek":"WEDNESDAY","dayOfYear":115,"month":"APRIL"}
orderIdstringRead-onlyOptional

The unique identifier of the Order associated with this Fulfillment.

Example: ord_5678901234
shipmentIdstringOptional

The unique identifier associated to the shipment

Example: 321765
liveModebooleanOptional

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

Example: false
trackingCompanystringOptional

The name of the tracking company.

Example: Fedex
trackingNumberstringOptional

A tracking number provided by the shipping company.

Example: 5678901234
trackingUrlstringOptional

The URL of the tracking page for the Fulfillment.

Example: http://www.digitalriver.com?code=5678901234
get
/fulfillments/{id}

Returns a list of Fulfillments

get

Gets all the Fulfillments specified in the request.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
endingBeforestringOptional

A cursor for use in pagination. The endingBefore parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with xyz your subsequent calls can include endingBefore=xyz in order to fetch the previous page of the list.

startingAfterstringOptional

A cursor for use in pagination. The startingAfter parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with xyz, your subsequent calls can include startingAfter=xyz in order to fetch the next page of the list.

limitinteger · min: 1 · max: 100Optional

A limit on the number of objects returned. Limit can range between 1 and 100, and the default is 10.

idsstring[]Optional

Only return objects with these IDs.

orderIdstringOptional

The identifier of the order associated with the Fulfillment you want to retrieve.

skuIdstringOptional

The identifier of the SKU associated with the Fulfillments you want to retrieve.

trackingCompanystringOptional

The tracking company associated with the Fulfillments you want to retrieve.

trackingNumberstringOptional

The tracking number associated with the Fulfillments you want to retrieve.

Responses
chevron-right
200

200 OK

application/json
hasMorebooleanOptional

Whether or not there are more elements available after this set. If false this set represents the end of the list.

Example: true
get
/fulfillments

Last updated