There is Swagger documentation available for this service
https://api.papirfly.app/marketing-shop/swagger-ui/index.html
Swagger URL for SSO login (replace [com_id] with your company ID):
https://api.papirfly.app/login?state=%2Fmarketing-shop%2Fswagger-ui%2Findex.html&p_com_id=[com_id]
Swagger URL for non-SSO login (replace [com_id] with your company ID twice):
https://api.papirfly.app/mars/external.access?p_url=%2Flogin%3Fstate%3D%252Fmarketing-shop%252Fswagger-ui%252Findex.html%26p_com_id%3D[com_id]&p_com_id=[com_id]
Marketing shop service is used to perform actions related to Articles, Orders and other entities connected to Marketing shop
Listing Article Ids + Names
Lists global categories for company with id 10930 and with texts for languageId 2
GET https://api.papirfly.app/marketing-shop/v1/articles/ids-names
Listing Article Information:
GET https://api.papirfly.app/marketing-shop/v1/articles/544
Listing Order Information:
GET https://api.papirfly.app/marketing-shop/v1/orders/7828867
Updating Order Information:
PUT https://api.papirfly.app/marketing-shop/v1/orders
{
"orderId": 7828867,
"displayOrderId": 349,
"siteId": 1545,
"officeId": 48018,
"userUuid": "8b3ece04-8eef-4142-b587-25623a6269a9",
"created": "2020-08-04T09:06:18.674Z",
"lastModified": "2020-08-04T09:06:18.674Z",
"name": "Change the name to this",
"status": "ORDERED",
"orderUuid": "e984ccde-20e3-47c1-80ad-f54de8d0d68d",
"officeName": "Brand Master Brazil",
"orderItems": [
{
"orderItemId": 171456,
"orderId": 7828867,
"articleId": 733,
"orderVendorId": 166620,
"customArticleId": "4321",
"displayArticleName": "Speeding car going through the city ",
"displayArticleUnit": "items",
"price": 0,
"currency": "NOK",
"quantity": 1,
"status": "ORDERED",
"lastModified": "2020-08-04T09:06:18.681Z",
"receivedQuantity": 0,
"thumbnailIdSmall": -1,
"deliveredQuantity": null,
"shoppingCartArticleId": 24787,
"thumbnailExtension": "png",
"discount": 0,
"discountPercentage": 0,
"endDate": null,
"thumbnailSmallUrl": "/fileroot7/gallery/brandmaster/images/small_padded/7a420d127efc451c81592d03a5cab07f.png",
"orderItemAttachments": [],
"orderItemFields": []
}
],
"orderCustomFieldValues": [
{
"orderCustomFieldValueId": 367773,
"orderCustomFieldId": 11,
"value": "*omitted*",
"orderId": 7828867,
"name": "CONTACT_NAME",
"position": 2,
"standard": true
},
{
"orderCustomFieldValueId": 367775,
"orderCustomFieldId": 38,
"value": "*omitted*",
"orderId": 7828867,
"name": "DELIVERY_ADDRESS",
"position": 5,
"standard": true
},
{
"orderCustomFieldValueId": 367776,
"orderCustomFieldId": 764,
"value": "*omitted*",
"orderId": 7828867,
"name": "Country",
"position": 8,
"standard": false
},
{
"orderCustomFieldValueId": 367772,
"orderCustomFieldId": 2,
"value": "Test Order",
"orderId": 7828867,
"name": "NAME_OF_ORDER",
"position": 1,
"standard": true
},
{
"orderCustomFieldValueId": 367774,
"orderCustomFieldId": 29,
"value": "*omitted*",
"orderId": 7828867,
"name": "CONTACT_EMAIL",
"position": 4,
"standard": true
}
]
}
Comments
0 comments
Please sign in to leave a comment.