0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Yahooショッピング 商品登録API で「あすつく」が指定できません。

Posted at

Yahooショッピング 商品登録APIを使い、商品登録をしています。
現在 確認しているのは「テスト環境」です。言語はPHPです。

値は以下のような形で送っているのですが


    [seller_id] => ショップID
    [item_code] => xxxxxxxxxx
    [path] => パソコン
    [name] => ○○○
    [product_category] => 14054
    [price] => 0000000000000000000
    [headline] => □□□□□□□□□□□□□□□
    [explanation] => □□□□□□□□□□□□□□□
    [additional1] => □□□□□□□□□□□□□□□
    [sp_additional] => □□□□□□□□□□□□□□□
    [brand_code] => 12
    [ship_weight] => 1000
    [display] => 1
    [product_code] => xxxxxxxxxx
    [delivery] => 0

ここまでだと、問題なく商品登録されます。
これに[astk_code] に「1」(あすつく)を加えてAPIを実行すると




  
  
  ed-00001

と返ってきます。

astk_code = 0 だと「OK」で返ってきます。
astk_code = 1 や astk_code = 2 だと 上記のように「システムエラー」になります。
astk_code = 1 や astk_code = '1' なども試しましたが結果は変わりません。

ストアエディターProで 「あすつく」を変更すると問題ありませんでした。

何が問題なのでしょうか?
テスト環境だからでしょうか? 本番環境にすると問題ないのでしょうか?
ご教授よろしくお願いいたします。

0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?