POST v1/user/shipment/offer/accept

MOBILE - Shipment accept offer.

Request Information

URI Parameters

None.

Body Parameters

UserAcceptOfferRequestModel
NameDescriptionTypeAdditional information
offer_id

integer

Required

offer_accepted

boolean

Required

offer_user_reject_reason

integer

None.

offer_user_reject_reason_note

string

Max length: 255

user_id

User ID (GUID)

string

Required

Data type: Text

user_signature

MD5 hash signature for the active user to validate the request

string

Required

Data type: Text

Request Format

application/json, text/json

Sample:
{
  "offer_id": 1,
  "offer_accepted": true,
  "offer_user_reject_reason": 1,
  "offer_user_reject_reason_note": "sample string 3",
  "user_id": "sample string 4",
  "user_signature": "sample string 5"
}

Response Information

Resource Description

MOBILE - Shipment accept offer.

BaseMetaResultModel
NameDescriptionTypeAdditional information
meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}