POST api/product/edit/status?token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

Токен авторизации

string

Required

Body Parameters

ChangeProductsStatusRequest
NameDescriptionTypeAdditional information
new_status

string

None.

products

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "new_status": "sample string 1",
  "products": [
    1,
    2
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

application/xml, text/xml

Sample:
<request>
  <new_status>sample string 1</new_status>
  <products>1</products>
  <products>2</products>
</request>

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.