POST api/bo/merchantsubscription/postpaid

สร้าง การใช้งาน ให้ร้านค้า

Request Information

URI Parameters

None.

Body Parameters

m_merchantsubscription_merchant_create_request
NameDescriptionTypeAdditional information
store_id

integer

None.

product_amount

integer

None.

day_amount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "store_id": 1,
  "product_amount": 2,
  "day_amount": 3
}

application/xml, text/xml

Sample:
<m_merchantsubscription_merchant_create_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Project.Modules.Models.Backoffice">
  <day_amount>3</day_amount>
  <product_amount>2</product_amount>
  <store_id>1</store_id>
</m_merchantsubscription_merchant_create_request>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'm_merchantsubscription_merchant_create_request'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.