taobao.alitrip.travel.baseinfo.scenics.get
The following important information will be returned after querying from Fliggy based on some key words.
They are needed when pushing ticket content to Fliggy.
The foreign key which here refers to scenic code and charging item code from vendor’s system is supported by Fliggy. Vendor can pass through the foreign key instead of Fliggy’s standard ones after binding scenic operation. The API can be ignored if vendor doesn’t need this function.
The charging item maintenance interface is designed to maintain item parameters like inventory type and reservation limits. And it supports external merchant codes (out_product_id) as primary keys. If the external merchant codes(out_product_id) is uesd, it will be considered that the out_product_id and the ali_product_id are being associated. Before using the external merchant codes(out_product_id), the association of the scenic id of Alitrip and the scenic id of merchant is necessary.
Such interface supports both new item release and quantity update. Some parameters for newly-released items are mandatory, but most parameters for item updates are optional. Please see parameter instructions. For one charging item, the merchant can only release one new Alitrip item. If there exists one Alitrip item associated with the charging item, it will be considered that item modification is involved. For the specified charging item, if the merchant doesn’t konw whether he has released one new Alitrip item or not, the interface “alitrip.ticket.scenic.query” or “alitrip.ticket.product.query” will be uesful.
When a new Alitrip item is released, there exists some default settings: 1)If needed, the merchant is responsible for the freight. 2)If the title, pictures or descriptions are not specified, the released item will use the system default descriptions according to the scenic.
If E-Logistics is used, please login the E-Logistics System to check the E-Logistics information.
This interface mainly used to maintain informations like refund rule, travel information, limits of purchases, how to enter scenic area, what is included in the cost and so on. Each rule must have an external ID (out_rule_id), out_rule_id will be used to maintain price and availability.
notice:
taobao.alitrip.travel.item.shelve
This interface used to launch/discontinue the items of ticket, but currently only supports launch/discontinue items immediately