ablemedia

ablemedia


批量申请offer

<h1>批量申请offer</h1> <h4>接口描述:</h4> <ul> <li>添加一个收货地址。</li> </ul> <h4>请求 URL:</h4> <ul> <li>正式 <code>http|https://sdk.ablemedia.info/api/affoffer/apply/&amp;lt;offer_ids&amp;gt;</code></li> </ul> <h4>请求方式:</h4> <ul> <li>PUT</li> </ul> <h4>请求示例:</h4> <ul> <li>正式 <code>http|https://sdk.ablemedia.info/api/affoffer/apply/423,442,540</code></li> </ul> <h4>是否授权:</h4> <ul> <li>需要授权</li> </ul> <h4>业务参数:</h4> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th style="text-align: center;">是否必须</th> <th style="text-align: left;">范围值</th> <th style="text-align: left;">默认值</th> <th style="text-align: left;">示例值</th> <th>描述</th> </tr> </thead> <tbody> </tbody> </table> <h4>Header参数:</h4> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">示例值</th> <th style="text-align: center;">必选</th> <th style="text-align: left;">类型</th> <th style="text-align: left;">说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">Content-Type</td> <td style="text-align: left;">application/json</td> <td style="text-align: center;">是</td> <td style="text-align: left;">string</td> <td style="text-align: left;">数据格式</td> </tr> <tr> <td style="text-align: left;">Authorization</td> <td style="text-align: left;">Basic XXXXXX</td> <td style="text-align: center;">是</td> <td style="text-align: left;">string</td> <td style="text-align: left;">授权信息token[Authorization说明](<a href="https://www.showdoc.com.cn/ablemedia/10540536163588204">https://www.showdoc.com.cn/ablemedia/10540536163588204</a> &quot;Authorization说明&quot;)</td> </tr> </tbody> </table> <h4>响应参数:</h4> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th style="text-align: center;">是否返回</th> <th style="text-align: left;">示例值</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">offer_id</td> <td style="text-align: left;">integer</td> <td style="text-align: center;">是</td> <td style="text-align: left;">300</td> <td>offer_id</td> </tr> <tr> <td style="text-align: left;">status</td> <td style="text-align: left;">integer</td> <td style="text-align: center;">是</td> <td style="text-align: left;">1</td> <td>status: 1=pending,2=Active,3=Block,4=Delete</td> </tr> </tbody> </table> <h4>响应示例:</h4> <pre><code class="language-json">// success [     {         &amp;quot;offer_id&amp;quot;: &amp;quot;300&amp;quot;,         &amp;quot;status&amp;quot;: &amp;quot;1&amp;quot;     } ] // fail {     &amp;quot;name&amp;quot;: &amp;quot;Method Not Allowed&amp;quot;,     &amp;quot;message&amp;quot;: &amp;quot;Method Not Allowed. This url can only handle the following request methods: PUT&amp;quot;,     &amp;quot;code&amp;quot;: 0,     &amp;quot;status&amp;quot;: 405,     &amp;quot;type&amp;quot;: &amp;quot;MethodNotAllowedHttpException&amp;quot; }</code></pre> <h4>备注:</h4> <p>无</p>

页面列表

ITEM_HTML