PUT api/v1/sellers/{code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

string

Required

Body Parameters

SellerDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Code

string

None.

Name

string

None.

LastName

string

None.

UrlImage

string

None.

IsDeletable

boolean

None.

IsArchived

boolean

None.

CreationDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "1cd31b94-a68f-4836-a546-e03e353d0c7b",
  "code": "sample string 1",
  "name": "sample string 2",
  "lastName": "sample string 3",
  "urlImage": "sample string 4",
  "isDeletable": true,
  "isArchived": true,
  "creationDate": "2025-08-31T06:20:18.8826358+00:00"
}

application/xml, text/xml

Sample:
<SellerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain.Dtos">
  <Code>sample string 1</Code>
  <CreationDate>2025-08-31T06:20:18.8826358+00:00</CreationDate>
  <Id>1cd31b94-a68f-4836-a546-e03e353d0c7b</Id>
  <IsArchived>true</IsArchived>
  <IsDeletable>true</IsDeletable>
  <LastName>sample string 3</LastName>
  <Name>sample string 2</Name>
  <UrlImage>sample string 4</UrlImage>
</SellerDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.