Download OpenAPI specification:Download
Rapid Flyer Shop API documentation
This creates a new user that can log in the shop
string | |
plainPassword | string |
firstName | string |
lastName | string |
channel | string |
{- "email": "test@example.com",
- "plainPassword": "test12334verysecure",
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "channel": "RF"
}
This route is needed to log the user in and get an access token.
email required | string |
password required | string |
token | string The token of the current cart which should be assign to the customer |
{- "email": "test@example.com",
- "password": "test12334verysecure",
- "token": "SDAOSLEFNWU35H3QLI5325"
}
{- "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9"
}
This route is needed to verify an user.
token required | string |
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
Email with reset password path will be sent to user. Path for password resetting is /password-reset/{token}
.
string |
{- "email": "test@example.com"
}
This endpoint resets the user password.
token required | string Password reset token. |
object (PasswordReset) |
{- "password": {
- "first": "a-new-password",
- "second": "a-new-password"
}
}
{- "firstName": "Sherlock",
- "lastName": "Holmes",
- "email": "sherlock@holmes.com",
- "birthday": "2017-08-12",
- "gender": "m",
- "phoneNumber": "+490000000000",
- "subscribedToNewsletter": false
}
firstName | string |
lastName | string |
string | |
birthday | string |
gender | string |
phoneNumber | string |
subscribedToNewsletter | integer |
{- "firstName": "Sherlock",
- "lastName": "Holmes",
- "email": "sherlock@holmes.com",
- "birthday": "2017-08-12",
- "gender": "f",
- "phoneNumber": "+490000000000",
- "subscribedToNewsletter": 0
}
{- "firstName": "Sherlock",
- "lastName": "Holmes",
- "email": "sherlock@holmes.com",
- "birthday": "2017-08-12",
- "gender": "m",
- "phoneNumber": "+490000000000",
- "subscribedToNewsletter": false
}
currentPassword | string |
object (PasswordReset) |
{- "currentPassword": "current-user-password",
- "newPassword": {
- "first": "a-new-password",
- "second": "a-new-password"
}
}
[- {
- "id": 1,
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "provinceCode": "GB_gl",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000",
- "default": false
}
]
id | integer |
firstName | string |
lastName | string |
countryCode | string |
street | string |
city | string |
postcode | string |
provinceName | string |
provinceCode | string |
company | string |
phoneNumber | string |
{- "id": 1,
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "provinceCode": "GB_gl",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}
{- "id": 1,
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "provinceCode": "GB_gl",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}
id required | integer Id of the address to update |
id | integer |
firstName | string |
lastName | string |
countryCode | string |
street | string |
city | string |
postcode | string |
provinceName | string |
provinceCode | string |
company | string |
phoneNumber | string |
{- "id": 1,
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "provinceCode": "GB_gl",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}
{- "id": 1,
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "provinceCode": "GB_gl",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}
id required | integer Id of the address to update |
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
id required | integer Id of the address to be the default address |
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This endpoint will return a paginated list of products for given taxon.
taxonSlug required | string Slug of taxonomy for which products should be listed. |
locale | string Locale in which products should be shown. |
limit | integer Number of expected products per page. |
page | integer Page number. |
{- "page": 1,
- "limit": 10,
- "pages": 3,
- "total": 25,
- "_links": {
- "self": "/shop-api/some-path?page=1&limit=10",
- "first": "/shop-api/some-path?page=1&limit=10",
- "last": "/shop-api/some-path?page=1&limit=10",
- "next": "/shop-api/some-path?page=1&limit=10"
}, - "items": [
- {
- "variants": {
- "property1": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "property2": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
], - "associations": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "uploadableFiles": 0,
- "advice": "string",
- "availableService": {
- "property1": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
], - "property2": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
]
}, - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}
}
]
}
This endpoint will return a paginated list of products for given taxon.
taxonCode required | string Code of taxonomy for which products should be listed. |
locale | string Locale in which products should be shown. |
limit | integer Number of expected products per page. |
page | integer Page number. |
{- "page": 1,
- "limit": 10,
- "pages": 3,
- "total": 25,
- "_links": {
- "self": "/shop-api/some-path?page=1&limit=10",
- "first": "/shop-api/some-path?page=1&limit=10",
- "last": "/shop-api/some-path?page=1&limit=10",
- "next": "/shop-api/some-path?page=1&limit=10"
}, - "items": [
- {
- "variants": {
- "property1": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "property2": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
], - "associations": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "uploadableFiles": 0,
- "advice": "string",
- "availableService": {
- "property1": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
], - "property2": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
]
}, - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}
}
]
}
This endpoint will return all the distinct format for each product if they have at least one variant with a pattern
{- "code": "AFF",
- "name": "Affiche",
- "availableFormat": {
- "17x50": "17x50 cm",
- "59V4X84V1": "59,4x84,1 cm (A1)"
}
}
This endpoint will return a product with the given slug.
slug required | string Slug of expected product. |
locale | string Locale in which products should be shown. |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "variants": {
- "property1": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "property2": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
], - "associations": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "uploadableFiles": 0,
- "advice": "string",
- "availableService": {
- "property1": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
], - "property2": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
]
}, - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "breadcrumb": "categories/mugs/logan-mug"
}
This endpoint will return a product with the given code.
code required | string Code of expected product. |
locale | string Locale in which products should be shown. |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "variants": {
- "property1": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "property2": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
], - "associations": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "uploadableFiles": 0,
- "advice": "string",
- "availableService": {
- "property1": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
], - "property2": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
]
}, - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "breadcrumb": "categories/mugs/logan-mug"
}
slug required | string The slug of the product |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "code": "AFF",
- "name": "Affiche",
- "options": [
- {
- "name": "Format",
- "code": "DIM",
- "values": [
- {
- "name": "5x14 cm (Portrait & paysage)",
- "code": "5x14"
}
]
}
]
}
This endpoint will return an array of latest products.
locale | string Locale in which products should be shown. |
limit | integer Number of expected products per page. |
x-channel | string <string> Default: RF Channel (point of sale) code |
[- {
- "variants": {
- "property1": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "property2": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
], - "associations": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "uploadableFiles": 0,
- "advice": "string",
- "availableService": {
- "property1": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
], - "property2": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
]
}, - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}
}
]
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "couponCode": "LD11FA"
}
This endpoint shows you the current calculated state of cart.
token required | string Cart identifier. |
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "couponCode": "LD11FA"
}
This endpoint will remove the cart and all of the related cart items.
token required | string Cart identifier. |
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This endpoint will allow you to add a new item to your cart.
token required | string Cart identifier. |
Description of an item. The smallest required amount of data is a product code and quantity for a simple product. Configurable products will require an additional variant_code
or options
field, but never both.
productCode required | string |
quantity | integer >= 1 Default: 1 |
variantCode | string |
object Keys reference to the code of an option and values to the code of option value. |
{- "productCode": "LOGAN_HAT_CODE",
- "quantity": 3,
- "variantCode": "SMALL_LOGAN_T_SHIRT_CODE",
- "options": {
- "property1": "HAT_SIZE_S",
- "property2": "HAT_SIZE_S"
}
}
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "couponCode": "LD11FA"
}
Merge carts in body to the one in the url
token required | string Cart identifier. |
List of the cart's token needed to be merged
carts required | Array of strings |
{- "carts": [
- "string"
]
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This endpoint will allow you to add a new item to your cart.
token required | string Cart identifier. |
Description of items. The same rules applied to each of the array values as to the previous point.
Array of objects (PutItemToCartRequest) |
{- "items": [
- {
- "productCode": "LOGAN_HAT_CODE",
- "quantity": 3,
- "variantCode": "SMALL_LOGAN_T_SHIRT_CODE",
- "options": {
- "property1": "HAT_SIZE_S",
- "property2": "HAT_SIZE_S"
}
}
]
}
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "couponCode": "LD11FA"
}
this endpoint will allow a user to download the pdf of the cart.
token required | string Cart identifier. |
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
token required | string Cart identifier. |
identifier required | string Identifier of a specific item. Can be found in the cart summary. |
quantity required | integer |
{- "quantity": 2
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This endpoint will remove one item from your cart
token required | string Cart identifier. |
identifier required | string Identifier of a specific item. Can be found in the cart summary. |
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
token required | string Cart identifier. |
item required | string Identifier of a specific item. Can be found in the cart summary. |
files[] | string <binary> |
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "couponCode": "LD11FA"
}
token required | string Cart identifier. |
item required | string Identifier of a specific item. Can be found in the cart summary. |
identifier required | string Identifier of a specific file item. Can be found in the cart summary. |
{- "code": 404,
- "message": "*** has not been found"
}
token required | string Cart identifier. |
item required | string Identifier of a specific item. Can be found in the cart summary. |
identifier required | string Identifier of a specific file item. Can be found in the cart summary. |
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "couponCode": "LD11FA"
}
token required | string Cart identifier. |
countryCode required | string Shipping Country |
provinceCode required | string Province to ship to |
{- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
This endpoint will allow you to add a promotion coupon code to the cart and receive the discount.
token required | string Cart identifier. |
coupon required | string |
{- "coupon": "BANANAS"
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This endpoint will allow you to remove a promotion coupon code from the cart.
token required | string Cart identifier. |
coupon required | string |
{- "coupon": "BANANAS"
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
id required | string Identifier of a specific order. Can be found in the cart summary. |
item required | string Identifier of a specific item. Can be found in the cart summary. |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "code": 404,
- "message": "*** has not been found"
}
All actions related to checkout fulfillment. It is important, to execute them in given order (address, choose shipment, choose payment and complete).
This endpoint will show the summarized cart during checkout. This action is an equivalent of cart summarize action.
token required | string Cart identifier. |
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "couponCode": "LD11FA"
}
This endpoint will allow you to add billing and shipping addresses to the cart and begin the checkout process. You can either define the same shipping and billing address or specify them separately.
token required | string Cart identifier. |
required | object (Address) |
object (Address) |
{- "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This endpoint will show you available shipping methods for all cart shipments.
token required | string Cart identifier. |
{- "shipments": [
- {
- "methods": {
- "property1": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
}
]
}
This endpoint will allow you to choose a cart shipping method.
token required | string Cart identifier. |
id required | string Order number of shipment for which shipping method should be specified. |
method required | string Code of chosen shipping method. |
{- "method": "DHL"
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This endpoint will allow you to complete the checkout.
token required | string Cart identifier. |
email required | string Email of a customer. |
notes | string Additional notes. |
{- "email": "customer@example.com",
- "notes": "I'm only available between 3 and 8 PM."
}
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "checkoutCompletedAt": "2019-08-24T14:15:22Z",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "invoices": [
- "00123456"
]
}
This endpoint will show you available payment methods for all cart payments.
token required | string Cart identifier. |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "payments": [
- {
- "methods": {
- "property1": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}, - "property2": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
}
]
}
This endpoint will allow you to choose order a payment method.
token required | string Cart identifier. |
id required | string Order number of payment for which payment method should be specified. |
x-channel | string <string> Default: RF Channel (point of sale) code |
method required | string Code of chosen payment method. |
{- "method": "PBC"
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "orders": [
- {
- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "checkoutCompletedAt": "2019-08-24T14:15:22Z",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "invoices": [
- "00123456"
]
}
], - "count": 2
}
tokenValue required | string Order token. |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "checkoutCompletedAt": "2019-08-24T14:15:22Z",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "invoices": [
- "00123456"
]
}
This endpoint will show you available payment methods for all cart payments.
token required | string Cart identifier. |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "payments": [
- {
- "methods": {
- "property1": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}, - "property2": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
}
]
}
This endpoint will allow you to choose order a payment method.
token required | string Cart identifier. |
id required | string Order number of payment for which payment method should be specified. |
x-channel | string <string> Default: RF Channel (point of sale) code |
method required | string Code of chosen payment method. |
{- "method": "PBC"
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This creates a new user that can log in the shop
string | |
plainPassword | string |
firstName | string |
lastName | string |
channel | string |
{- "email": "test@example.com",
- "plainPassword": "test12334verysecure",
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "channel": "RF"
}
This route is needed to log the user in and get an access token.
email required | string |
password required | string |
token | string The token of the current cart which should be assign to the customer |
{- "email": "test@example.com",
- "password": "test12334verysecure",
- "token": "SDAOSLEFNWU35H3QLI5325"
}
{- "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9"
}
This route is needed to verify an user.
token required | string |
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
Email with reset password path will be sent to user. Path for password resetting is /password-reset/{token}
.
string |
{- "email": "test@example.com"
}
This endpoint resets the user password.
token required | string Password reset token. |
object (PasswordReset) |
{- "password": {
- "first": "a-new-password",
- "second": "a-new-password"
}
}
{- "firstName": "Sherlock",
- "lastName": "Holmes",
- "email": "sherlock@holmes.com",
- "birthday": "2017-08-12",
- "gender": "m",
- "phoneNumber": "+490000000000",
- "subscribedToNewsletter": false
}
firstName | string |
lastName | string |
string | |
birthday | string |
gender | string |
phoneNumber | string |
subscribedToNewsletter | integer |
{- "firstName": "Sherlock",
- "lastName": "Holmes",
- "email": "sherlock@holmes.com",
- "birthday": "2017-08-12",
- "gender": "f",
- "phoneNumber": "+490000000000",
- "subscribedToNewsletter": 0
}
{- "firstName": "Sherlock",
- "lastName": "Holmes",
- "email": "sherlock@holmes.com",
- "birthday": "2017-08-12",
- "gender": "m",
- "phoneNumber": "+490000000000",
- "subscribedToNewsletter": false
}
currentPassword | string |
object (PasswordReset) |
{- "currentPassword": "current-user-password",
- "newPassword": {
- "first": "a-new-password",
- "second": "a-new-password"
}
}
[- {
- "id": 1,
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "provinceCode": "GB_gl",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000",
- "default": false
}
]
id | integer |
firstName | string |
lastName | string |
countryCode | string |
street | string |
city | string |
postcode | string |
provinceName | string |
provinceCode | string |
company | string |
phoneNumber | string |
{- "id": 1,
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "provinceCode": "GB_gl",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}
{- "id": 1,
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "provinceCode": "GB_gl",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}
id required | integer Id of the address to update |
id | integer |
firstName | string |
lastName | string |
countryCode | string |
street | string |
city | string |
postcode | string |
provinceName | string |
provinceCode | string |
company | string |
phoneNumber | string |
{- "id": 1,
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "provinceCode": "GB_gl",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}
{- "id": 1,
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "provinceCode": "GB_gl",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}
id required | integer Id of the address to update |
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
id required | integer Id of the address to be the default address |
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This endpoint will allow you to get carousel form taxon.
code required | string Code of expected taxon |
{- "title": "carousel-homepage",
- "carouselItems": [
- {
- "alt": "image legend",
- "position": 2,
- "file": "cc/43/161aa882847d430005054f99d88e.jpeg"
}
]
}
slug required | string Slug of expected page |
{- "code": "page-code",
- "content": "[{ code: 'monsieurbiz.text', data: '<h1>100% Satisfait ou ré-imprimé !</h1>' }]",
- "descriptionWhenLinked": "page-linked-description",
- "metaDescription": "page-meta-description",
- "metaKeywords": "page-meta-keywords",
- "name": "page-name",
- "nameWhenLinked": "page-linked-name",
- "slug": "page-slug"
}
products | Array of strings Products codes |
taxonomies | Array of strings Taxonomies codes |
sections | Array of strings Sections codes |
product-by-slug | string Product slug |
taxonomy-by-slug | string Taxonomy slug |
[- {
- "code": "my-block-code",
- "name": "block-name",
- "content": "[{ code: 'monsieurbiz.text', data: '<h1>100% Satisfait ou ré-imprimé !</h1>' }]",
}
]
code required | string Code of expected block |
{- "code": "my-block-code",
- "name": "block-name",
- "content": "[{ code: 'monsieurbiz.text', data: '<h1>100% Satisfait ou ré-imprimé !</h1>' }]",
}
This endpoint will return an array of all available taxon roots with all of its children.
locale | string Locale in which taxons should be shown. |
x-channel | string <string> Default: RF Channel (point of sale) code |
[- {
- "code": "CATEGORIES_CODE",
- "name": "Categories",
- "slug": "categories",
- "description": "General category for all products.",
- "children": [
- { }
], - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
]
This endpoint will return a taxon with given code, children and the root node with direct path to this taxon.
code required | string Code of expected taxon. |
locale | string Locale in which taxons should be shown. |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "self": {
- "code": "CATEGORIES_CODE",
- "name": "Categories",
- "slug": "categories",
- "description": "General category for all products.",
- "children": [
- { }
], - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}, - "parentTree": {
- "code": "CATEGORIES_CODE",
- "name": "Categories",
- "slug": "categories",
- "description": "General category for all products.",
- "children": [
- { }
], - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
}
This endpoint will return a taxon with given code, children and the root node with direct path to this taxon.
code required | string Code of expected taxon. |
locale | string Locale in which taxons should be shown. |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "name": "Hôtels & Restaurants",
- "slug": "hotels-restaurants",
- "description": "Pourquoi utiliser des imprimés dans votre café / hôtel / restaurant...",
- "shortDescription": "Pourquoi utiliser des imprimés dans votre café / hôtel / restaurant",
- "metaTitle": "Impression et communication pour hôtel et restaurant - Rapid Flyer",
- "metaDescription": "Découvrez notre gamme d’imprimés et supports de communication pour hôtels et restaurants",
- "metaKeywords": "Hôtels,Restaurants",
- "medias": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "nbWindows": 10,
- "windows": [
- {
- "type": "format",
- "items": [
- {
- "name": "Accroche-porte",
- "slug": "accroche-portes",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
]
}
], - "breadcrumbs": [
- {
- "name": "Acceuil",
- "slug": "home",
- "type": "Taxon"
}
], - "blogLinks": {
- "title": "Mon titre de blog",
- "image": {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
}
}
This endpoint will return a pattern link to a product variant with the given format
locale | string Locale in which pattern should be shown. |
Code of the product
productCode required | string |
formatCode required | string |
{- "productCode": "AFF",
- "formatCode": "100x150"
}
{- "name": "AFF_100x150-cm",
- "pdf": {
- "type": "pdf",
- "path": "/var/www/rflyer/public/media/pattern/da/a7/d06bd7001b7c1a967081c0164b65.pdf"
}, - "illustrator": {
- "type": "pdf",
- "path": "/var/www/rflyer/public/media/pattern/da/a7/d06bd7001b7c1a967081c0164b65.pdf"
}
}
This endpoint will return a paginated list of products for given taxon.
taxonSlug required | string Slug of taxonomy for which products should be listed. |
locale | string Locale in which products should be shown. |
limit | integer Number of expected products per page. |
page | integer Page number. |
{- "page": 1,
- "limit": 10,
- "pages": 3,
- "total": 25,
- "_links": {
- "self": "/shop-api/some-path?page=1&limit=10",
- "first": "/shop-api/some-path?page=1&limit=10",
- "last": "/shop-api/some-path?page=1&limit=10",
- "next": "/shop-api/some-path?page=1&limit=10"
}, - "items": [
- {
- "variants": {
- "property1": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "property2": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
], - "associations": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "uploadableFiles": 0,
- "advice": "string",
- "availableService": {
- "property1": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
], - "property2": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
]
}, - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}
}
]
}
This endpoint will return a paginated list of products for given taxon.
taxonCode required | string Code of taxonomy for which products should be listed. |
locale | string Locale in which products should be shown. |
limit | integer Number of expected products per page. |
page | integer Page number. |
{- "page": 1,
- "limit": 10,
- "pages": 3,
- "total": 25,
- "_links": {
- "self": "/shop-api/some-path?page=1&limit=10",
- "first": "/shop-api/some-path?page=1&limit=10",
- "last": "/shop-api/some-path?page=1&limit=10",
- "next": "/shop-api/some-path?page=1&limit=10"
}, - "items": [
- {
- "variants": {
- "property1": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "property2": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
], - "associations": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "uploadableFiles": 0,
- "advice": "string",
- "availableService": {
- "property1": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
], - "property2": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
]
}, - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}
}
]
}
This endpoint will return all the distinct format for each product if they have at least one variant with a pattern
{- "code": "AFF",
- "name": "Affiche",
- "availableFormat": {
- "17x50": "17x50 cm",
- "59V4X84V1": "59,4x84,1 cm (A1)"
}
}
This endpoint will return a product with the given slug.
slug required | string Slug of expected product. |
locale | string Locale in which products should be shown. |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "variants": {
- "property1": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "property2": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
], - "associations": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "uploadableFiles": 0,
- "advice": "string",
- "availableService": {
- "property1": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
], - "property2": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
]
}, - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "breadcrumb": "categories/mugs/logan-mug"
}
This endpoint will return a product with the given code.
code required | string Code of expected product. |
locale | string Locale in which products should be shown. |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "variants": {
- "property1": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "property2": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
], - "associations": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "uploadableFiles": 0,
- "advice": "string",
- "availableService": {
- "property1": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
], - "property2": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
]
}, - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "breadcrumb": "categories/mugs/logan-mug"
}
slug required | string The slug of the product |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "code": "AFF",
- "name": "Affiche",
- "options": [
- {
- "name": "Format",
- "code": "DIM",
- "values": [
- {
- "name": "5x14 cm (Portrait & paysage)",
- "code": "5x14"
}
]
}
]
}
This endpoint will return an array of latest products.
locale | string Locale in which products should be shown. |
limit | integer Number of expected products per page. |
x-channel | string <string> Default: RF Channel (point of sale) code |
[- {
- "variants": {
- "property1": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "property2": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
], - "associations": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "uploadableFiles": 0,
- "advice": "string",
- "availableService": {
- "property1": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
], - "property2": [
- {
- "id": "1",
- "name": "BAT",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
]
}, - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}
}
]
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "couponCode": "LD11FA"
}
This endpoint shows you the current calculated state of cart.
token required | string Cart identifier. |
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "couponCode": "LD11FA"
}
This endpoint will remove the cart and all of the related cart items.
token required | string Cart identifier. |
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This endpoint will allow you to add a new item to your cart.
token required | string Cart identifier. |
Description of an item. The smallest required amount of data is a product code and quantity for a simple product. Configurable products will require an additional variant_code
or options
field, but never both.
productCode required | string |
quantity | integer >= 1 Default: 1 |
variantCode | string |
object Keys reference to the code of an option and values to the code of option value. |
{- "productCode": "LOGAN_HAT_CODE",
- "quantity": 3,
- "variantCode": "SMALL_LOGAN_T_SHIRT_CODE",
- "options": {
- "property1": "HAT_SIZE_S",
- "property2": "HAT_SIZE_S"
}
}
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "couponCode": "LD11FA"
}
Merge carts in body to the one in the url
token required | string Cart identifier. |
List of the cart's token needed to be merged
carts required | Array of strings |
{- "carts": [
- "string"
]
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This endpoint will allow you to add a new item to your cart.
token required | string Cart identifier. |
Description of items. The same rules applied to each of the array values as to the previous point.
Array of objects (PutItemToCartRequest) |
{- "items": [
- {
- "productCode": "LOGAN_HAT_CODE",
- "quantity": 3,
- "variantCode": "SMALL_LOGAN_T_SHIRT_CODE",
- "options": {
- "property1": "HAT_SIZE_S",
- "property2": "HAT_SIZE_S"
}
}
]
}
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "couponCode": "LD11FA"
}
this endpoint will allow a user to download the pdf of the cart.
token required | string Cart identifier. |
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
token required | string Cart identifier. |
identifier required | string Identifier of a specific item. Can be found in the cart summary. |
quantity required | integer |
{- "quantity": 2
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This endpoint will remove one item from your cart
token required | string Cart identifier. |
identifier required | string Identifier of a specific item. Can be found in the cart summary. |
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
token required | string Cart identifier. |
item required | string Identifier of a specific item. Can be found in the cart summary. |
files[] | string <binary> |
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "couponCode": "LD11FA"
}
token required | string Cart identifier. |
item required | string Identifier of a specific item. Can be found in the cart summary. |
identifier required | string Identifier of a specific file item. Can be found in the cart summary. |
{- "code": 404,
- "message": "*** has not been found"
}
token required | string Cart identifier. |
item required | string Identifier of a specific item. Can be found in the cart summary. |
identifier required | string Identifier of a specific file item. Can be found in the cart summary. |
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "couponCode": "LD11FA"
}
token required | string Cart identifier. |
countryCode required | string Shipping Country |
provinceCode required | string Province to ship to |
{- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
This endpoint will allow you to add a promotion coupon code to the cart and receive the discount.
token required | string Cart identifier. |
coupon required | string |
{- "coupon": "BANANAS"
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This endpoint will allow you to remove a promotion coupon code from the cart.
token required | string Cart identifier. |
coupon required | string |
{- "coupon": "BANANAS"
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
id required | string Identifier of a specific order. Can be found in the cart summary. |
item required | string Identifier of a specific item. Can be found in the cart summary. |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "code": 404,
- "message": "*** has not been found"
}
All actions related to checkout fulfillment. It is important, to execute them in given order (address, choose shipment, choose payment and complete).
This endpoint will show the summarized cart during checkout. This action is an equivalent of cart summarize action.
token required | string Cart identifier. |
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "couponCode": "LD11FA"
}
This endpoint will allow you to add billing and shipping addresses to the cart and begin the checkout process. You can either define the same shipping and billing address or specify them separately.
token required | string Cart identifier. |
required | object (Address) |
object (Address) |
{- "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This endpoint will show you available shipping methods for all cart shipments.
token required | string Cart identifier. |
{- "shipments": [
- {
- "methods": {
- "property1": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
}
]
}
This endpoint will allow you to choose a cart shipping method.
token required | string Cart identifier. |
id required | string Order number of shipment for which shipping method should be specified. |
method required | string Code of chosen shipping method. |
{- "method": "DHL"
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
This endpoint will allow you to complete the checkout.
token required | string Cart identifier. |
email required | string Email of a customer. |
notes | string Additional notes. |
{- "email": "customer@example.com",
- "notes": "I'm only available between 3 and 8 PM."
}
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "checkoutCompletedAt": "2019-08-24T14:15:22Z",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "invoices": [
- "00123456"
]
}
This endpoint will show you available payment methods for all cart payments.
token required | string Cart identifier. |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "payments": [
- {
- "methods": {
- "property1": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}, - "property2": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
}
]
}
This endpoint will allow you to choose order a payment method.
token required | string Cart identifier. |
id required | string Order number of payment for which payment method should be specified. |
x-channel | string <string> Default: RF Channel (point of sale) code |
method required | string Code of chosen payment method. |
{- "method": "PBC"
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "orders": [
- {
- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "checkoutCompletedAt": "2019-08-24T14:15:22Z",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "invoices": [
- "00123456"
]
}
], - "count": 2
}
tokenValue required | string Order token. |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "tokenValue": "SDAOSLEFNWU35H3QLI5325",
- "channel": "RF",
- "currency": "EUR",
- "locale": "fr_FR",
- "checkoutState": "cart",
- "checkoutCompletedAt": "2019-08-24T14:15:22Z",
- "items": [
- {
- "id": 1,
- "quantity": 2,
- "total": 1000,
- "product": {
- "variants": [
- {
- "code": "LOGAN_MUG_CODE",
- "name": "Logan Mug",
- "axis": [
- "HAT_SIZE_S"
], - "nameAxis": {
- "property1": "string",
- "property2": "string"
}, - "price": {
- "current": 1000,
- "currency": "EUR"
}, - "originalPrice": {
- "current": 1000,
- "currency": "EUR"
}, - "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
]
}
], - "code": "LOGAN_MUG_CODE",
- "averageRating": "1.8",
- "name": "Logan Mug",
- "slug": "logan-mug",
- "description": "A very nice mug that you can drink from or use to store beverages in.",
- "shortDescription": "A mug.",
- "metaKeywords": "mug drink logan",
- "metaDescription": "Some meta description",
- "images": [
- {
- "code": "thumbnail",
- "path": "/uo/mug.jpg"
}
], - "taxons": {
- "main": "MAIN_TAXON_CODE",
- "others": [
- "OTHER_TAXON_CODE"
]
}, - "attributes": [
- {
- "code": "MUG_MATERIAL_CODE",
- "name": "Mug material",
- "value": "Wood"
}
]
}
}
], - "totals": {
- "total": 0,
- "items": 0,
- "taxes": 0,
- "shipping": 0,
- "promotion": 0
}, - "shippingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "billingAddress": {
- "firstName": "Sherlock",
- "lastName": "Holmes",
- "countryCode": "GB",
- "street": "Baker Street 221b",
- "city": "London",
- "postcode": "NW1",
- "provinceName": "Greater London",
- "company": "Holmes Investigation Service",
- "phoneNumber": "+490000000000"
}, - "payments": [
- {
- "state": "cart",
- "method": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
], - "shipments": [
- {
- "state": "cart",
- "method": {
- "code": "DHL",
- "name": "DHL Delivery",
- "description": "DHL Delivery will deliver your parcel even next day!",
- "price": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "cartDiscounts": [
- {
- "property1": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}, - "property2": {
- "name": "Summer sale",
- "amount": {
- "current": 1000,
- "currency": "EUR"
}
}
}
], - "invoices": [
- "00123456"
]
}
This endpoint will show you available payment methods for all cart payments.
token required | string Cart identifier. |
x-channel | string <string> Default: RF Channel (point of sale) code |
{- "payments": [
- {
- "methods": {
- "property1": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}, - "property2": {
- "code": "PBC",
- "name": "Pay by check",
- "description": "Some strange description.",
- "instructions": "Some instructions."
}
}
}
]
}
This endpoint will allow you to choose order a payment method.
token required | string Cart identifier. |
id required | string Order number of payment for which payment method should be specified. |
x-channel | string <string> Default: RF Channel (point of sale) code |
method required | string Code of chosen payment method. |
{- "method": "PBC"
}
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
this endpoint will allow an user to create a drafted quotation.
x-channel | string <string> Default: RF Channel (point of sale) code |
zone required | string The code of the zone |
required | object (QuotationCreationItem) |
{- "zone": "WORLD",
- "items": {
- "product": "AFF",
- "publicComment": "string",
- "optionValues": {
- "code": "5X14",
- "option": "LOT",
- "value": "I want 30 of them"
}
}
}
{- "id": 0,
- "reference": "DEV02022021",
- "publishingDate": "2021-02-02T11:56:46+01:00",
- "validityDate": "2021-03-04T11:56:46+01:00",
- "linkGeneratePdf": "/shop-api/quotations/37824/download-pdf",
- "status": "generated",
- "priceTTC": "1000",
- "items": {
- "id": "11569",
- "skuName": "APO.DELkill.LOT0.DIM14v8x62v8.FACr.SUP150x210.PELbrv.VERcsc",
- "name": "Accroche-porte",
- "services": [
- {
- "code": "BAT",
- "name": "BAT"
}
], - "files": [
- {
- "name": "document.jpg",
- "filename": "document.jpg",
- "size": 179611
}
]
}
}
this endpoint will allow an user to add files to existing given quotation item.
quotationId required | integer Id of quotation |
quotationItemId required | integer Id of quotation item |
x-channel | string <string> Default: RF Channel (point of sale) code |
files[] | string <binary> |
{- "id": 0,
- "reference": "DEV02022021",
- "publishingDate": "2021-02-02T11:56:46+01:00",
- "validityDate": "2021-03-04T11:56:46+01:00",
- "linkGeneratePdf": "/shop-api/quotations/37824/download-pdf",
- "status": "generated",
- "priceTTC": "1000",
- "items": {
- "id": "11569",
- "skuName": "APO.DELkill.LOT0.DIM14v8x62v8.FACr.SUP150x210.PELbrv.VERcsc",
- "name": "Accroche-porte",
- "services": [
- {
- "code": "BAT",
- "name": "BAT"
}
], - "files": [
- {
- "name": "document.jpg",
- "filename": "document.jpg",
- "size": 179611
}
]
}
}
this endpoint will allow a user to download the pdf of the quote.
quotationId required | integer Id of quotation |
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
this endpoint will allow a user to validate a quotation and create associated order.
quotationId required | integer Id of quotation |
{- "code": 400,
- "message": "Validation failed",
- "errors": {
- "property1": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
], - "property2": [
- [
- "rapid-flyer.shop_api.additionalProp.not_null",
- "rapid-flyer.shop_api.additionalProp.not_exist",
- "rapid-flyer.shop_api.additionalProp.not_valid",
- null
]
]
}
}
[- {
- "id": 0,
- "reference": "DEV02022021",
- "publishingDate": "2021-02-02T11:56:46+01:00",
- "validityDate": "2021-03-04T11:56:46+01:00",
- "linkGeneratePdf": "/shop-api/quotations/37824/download-pdf",
- "status": "generated",
- "priceTTC": "1000",
- "items": {
- "id": "11569",
- "skuName": "APO.DELkill.LOT0.DIM14v8x62v8.FACr.SUP150x210.PELbrv.VERcsc",
- "name": "Accroche-porte",
- "services": [
- {
- "code": "BAT",
- "name": "BAT"
}
], - "files": [
- {
- "name": "document.jpg",
- "filename": "document.jpg",
- "size": 179611
}
]
}
}
]
Get paginated view of the reviews of a product.
productId required | integer The id of the product you want the review. |
page | integer Default: 1 |
limit | integer Default: 10 |
{- "opinions": [
- {
- "id": "9fb9c702-a286-46f1-b405-980a38f92d8a",
- "rate": 4,
- "message": "Ca va c'est pas mal",
- "author": "Thibaut C",
- "sellAt": "2022-06-28T13:27:42+02:00",
- "reviewAt": "2022-07-29T18:28:21+02:00",
- "product": "5578f922-3ddc-49e7-907c-21946d8a000d",
- "signature": "6f37344bbcdf8b2119ba45aa463d3f963d188f4b",
- "useful": 0,
- "useless": 0,
- "comments": [
- {
- "origin": "brand",
- "message": "merci.",
- "date": "2022-02-15T09:34:19+01:00"
}
]
}
]
}
Get paginated view of the reviews of RapidFlyer.
page | integer Default: 1 |
limit | integer Default: 10 |
{- "opinions": [
- {
- "id": "9fb9c702-a286-46f1-b405-980a38f92d8a",
- "rate": 4,
- "message": "Ca va c'est pas mal",
- "author": "Thibaut C",
- "sellAt": "2022-06-28T13:27:42+02:00",
- "reviewAt": "2022-07-29T18:28:21+02:00"
}
]
}