Table of Contents Get gift details Get all gifts of a premium set: Get a specific gift: Get gift details The URL of this webservice is GET: /rest/{client}/gifts?so=xx ParameterDescription client client id sp service provider. (mandatory if the user account can use different service provider values) so Sales Organization gift Returns the gift. As this is a customizing setting the parameter can be optional or mandatory depending on the client requirements. set Returns all gifts assigned to a specific gift set. As this is a customizing setting the parameter can be optional or mandatory depending on the client requirements. Get all gifts of a premium set: To see all assigned gifts of a premium set the set parameter must be provided within the URL GET: /rest/{client}/gifts?so=xx&set=xx Example get all gifts of a premium set The response is a JSON document. The name of the gift set is LOVE KITS URL: GET:/670/gifts?so=0100&set=LOVE%20KITS [ { "CLIENT":"670", "GIFT":"GWOCS122", "GIFT_SHORT_DESC":"LOVE_HEART_KIT_", "GIFT_LONG_DESC":"LOVE_HEART_KIT_265", "STOCK":8,"MIN_STOCK":0, "OUT_OF_STOCK":"", "DEL_FLAG_MASTER_DATA":"", "ADD_PAYMENT":0, "ADD_PAYMENT_CURRENCY":"", "PAY_OF_PREMIUM":"", "MATERIAL_GROUP":""}, {"CLIENT":"670", "GIFT":"GWOCS123", "GIFT_SHORT_DESC":"LOVE_TREE_KIT", "GIFT_LONG_DESC":"LOVE_TREE_KIT_265", "STOCK":2,"MIN_STOCK":0,"OUT_OF_STOCK":"", "DEL_FLAG_MASTER_DATA":"", "ADD_PAYMENT":0,"ADD_PAYMENT_CURRENCY":"", "PAY_OF_PREMIUM":"", "MATERIAL_GROUP":"" } ] Get a specific gift: To see a specific gift the gift parameter must be provided within the URL GET: /rest/{client}/gifts?so=xx&gift=xx Example get a specific gift The response is a JSON document. The name of the gift is GWOCS122 URL: GET:/670/gifts?so=0100&gift=GWOCS122 [ { "CLIENT":"670", "GIFT":"GWOCS122", "GIFT_SHORT_DESC":"LOVE_HEART_KIT_", "GIFT_LONG_DESC":"LOVE_HEART_KIT_265", "STOCK":8, "MIN_STOCK":0, "OUT_OF_STOCK":"", "DEL_FLAG_MASTER_DATA":"", "ADD_PAYMENT":0, "ADD_PAYMENT_CURRENCY":"", "PAY_OF_PREMIUM":"", "MATERIAL_GROUP":"" } ] This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.OKMore information