Update Seller

Update the seller object, except the seller status. Use the disable, activate, deactivate, and delete endpoints to manage the status.

put

/v1/accounts/sellers/{id}

Path parameters
idstringrequired
Body
idstring
auditobject
$metaobject
hrefstring
externalIdstring | nullable
statusstring · enum
Options: Active, Disabled, Offline, Deleted
iconstring · max: 2000 | nullable
addressobject
namestring · min: 1 · max: 500required
currenciesstring · min: 1 · max: 3[]required
Responses
curl -L \
  --request PUT \
  --url '/v1/accounts/sellers/{id}' \
  --header 'Content-Type: application/json' \
  --data '{"audit":{"created":{"by":{"audit":{"created":{"by":"[Circular Reference]"},"updated":{"by":"[Circular Reference]"}},"$meta":{"omitted":[null]}}},"updated":{"by":"[Circular Reference]"}},"$meta":{"omitted":[null]},"status":"Active","address":{"addressLine1":"text","postCode":"text","city":"text","state":"text","country":"text"},"name":"text","currencies":[null]}'
{
  "id": "text",
  "audit": {
    "created": {
      "by": {
        "audit": {
          "created": {
            "by": "[Circular Reference]"
          },
          "updated": {
            "by": "[Circular Reference]"
          }
        },
        "$meta": {
          "omitted": [
            null
          ]
        }
      }
    },
    "updated": {
      "by": "[Circular Reference]"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "href": "text",
  "externalId": "text",
  "status": "Active",
  "icon": "text",
  "address": {
    "addressLine1": "text",
    "addressLine2": "text",
    "postCode": "text",
    "city": "text",
    "state": "text",
    "country": "text"
  },
  "name": "text",
  "currencies": [
    "text"
  ]
}

Last updated

Was this helpful?