Request Data Format | application/json |
---|---|
Request related java object | com.intershop.sellside.rest.common.capi.resource.customer.product.notification.CustomerProductNotificationsResource com.intershop.sellside.rest.common.capi.resourceobject.product.notification.NewProductNotificationRO |
Request Example | { "sku" : "10809311", "price": { "type": "Money", "value": 253.95, "currencyMnemonic": "USD" }, "notificationMailAddress": "patricia@test.intershop.de" } |
Response Data Format | application/json |
Response related java object | com.intershop.component.rest.capi.resourceobject.LinkRO |
Response Example | With status code 201: { "type": "Link", "title": "HP ZR22w 21.5-inch S-IPS LCD Monitor ", "uri": "PrimeTech-PrimeTechSpecials-Site/-/customers/notifications/price/4565239" } With status code 400 response will be filled with error message and a possible error-key header. Example: Status Code: 400 Bad Request Accept-Ranges: bytes Connection: close Content-Length: 55 Content-Type: text/plain Date: Fri, 08 Nov 2013 16:36:50 GMT Server: Apache/2 authentication-token: standard@PBEWithMD5AndTripleDES:9+j5PwWL6hI=|2wGUPPbVSwlX3b9bpox7bni8nEelkG9nYuaVGPzZrlEhxQkdC2Ow5g== error-invalid-attributes: sku error-key: account.productnotification.invalid_fields.error error-type: error-invalid-attributes Bad Request (The following attributes are invalid: sku) |
XML Request Data Format | text/xml |
---|---|
XML Request Java Objects | com.intershop.sellside.rest.common.capi.resource.customer.product.notification.CustomerProductNotificationsResource com.intershop.sellside.rest.common.capi.resourceobject.product.notification.NewProductNotificationRO |
XML Request Example | <NewProductNotification type="NewProductNotification"> <sku>10809311</sku> <notificationMailAddress>patricia@test.intershop.de</notificationMailAddress> <price type="Money"> <currencyMnemonic>USD</currencyMnemonic> <value>253.95</value> </price> </NewProductNotification> |
XML Response Data Format | text/xml |
XML Response Java Objects | com.intershop.component.rest.capi.resourceobject.LinkRO |
XML Response Example | With status code 201: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Link type="Link"> <title>Acer Predator G3 G3610</title> <uri>PrimeTech-PrimeTechSpecials-Site/-/customers/notifications/price/10809311</uri> </Link> With status code 400 response will be filled with error message and a possible error-key header. Example: Status Code: 400 Bad Request Accept-Ranges: bytes Connection: close Content-Length: 55 Content-Type: text/plain Date: Fri, 08 Nov 2013 16:36:50 GMT Server: Apache/2 authentication-token: standard@PBEWithMD5AndTripleDES:9+j5PwWL6hI=|2wGUPPbVSwlX3b9bpox7bni8nEelkG9nYuaVGPzZrlEhxQkdC2Ow5g== error-invalid-attributes: sku error-key: account.productnotification.invalid_fields.error error-type: error-invalid-attributes Bad Request (The following attributes are invalid: sku) |
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.