LoginSignup
1
0

More than 1 year has passed since last update.

リメイクしました

MWS用の記事だったのですが、時は経ちMWSはもう.....
SPAPIでも全く同じなので、タイトルとタグとリンク先を変更しました。

ConditionNoteてどれ?

20161202102208.png
ここのこと
商品の状態とか仕入れの状態とかカテゴリーとかによって変えたい時があるよね:star:

どのオペレーションを使う?

オペレーションcreateFeedDocument
FeedType:商品フィード(POST_PRODUCT_DATA

サブミットサンプル

updateConditionNote.xml
<?xml version="1.0" encoding="utf-8"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
  <Header>
    <DocumentVersion>1.01</DocumentVersion>
    <MerchantIdentifier>[authToken]</MerchantIdentifier>
  </Header>
  <MessageType>[Product]</MessageType>
  <Message>
    <MessageID>[1]</MessageID>
    <OperationType>Update</OperationType>
    <Product>
      <SKU>[指定するSKU]</SKU>
      <Condition>
        <ConditionType>[New]</ConditionType>
        <ConditionNote>[コンディションノート]</ConditionNote>
      </Condition>
    </Product>
  </Message>
</AmazonEnvelope>

所感

リファレンス

<xsd:element name="Condition" type="ConditionInfo" minOccurs="0"/>

これだけしか書いてないからConditionの中にConditionTypeとかConditionNoteとか指定できるって気づかんかったんや...

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0