Merge pull request #1311 from Safelite/feature/apiModelChanges
api model changes
This commit is contained in:
commit
5dbfef9874
2 changed files with 3 additions and 3 deletions
|
|
@ -119,7 +119,7 @@ const endpoints = {
|
||||||
method: "GET",
|
method: "GET",
|
||||||
},
|
},
|
||||||
SaveSession: {
|
SaveSession: {
|
||||||
url: "/order/api/v1/order/save-session",
|
url: "/order/api/v1/order/save-session/fmg",
|
||||||
method: "POST",
|
method: "POST",
|
||||||
},
|
},
|
||||||
LoadSession: {
|
LoadSession: {
|
||||||
|
|
|
||||||
|
|
@ -476,7 +476,7 @@ export const mutations = {
|
||||||
state.order.customer.emailAddress = sessionInformation.order.customer.emailAddress;
|
state.order.customer.emailAddress = sessionInformation.order.customer.emailAddress;
|
||||||
state.order.customer.firstName = sessionInformation.order.customer.firstName;
|
state.order.customer.firstName = sessionInformation.order.customer.firstName;
|
||||||
state.order.customer.lastName = sessionInformation.order.customer.lastName;
|
state.order.customer.lastName = sessionInformation.order.customer.lastName;
|
||||||
state.order.customer.phoneNumber = sessionInformation.order.customer.phoneNumber;
|
state.order.customer.phoneNumber = sessionInformation.order.customer.servicePhoneNumber;
|
||||||
state.order.customer.isSmsOptIn = sessionInformation.order.customer.isSmsOptIn;
|
state.order.customer.isSmsOptIn = sessionInformation.order.customer.isSmsOptIn;
|
||||||
|
|
||||||
state.order.existingPromoCode = sessionInformation.order.existingPromoCode;
|
state.order.existingPromoCode = sessionInformation.order.existingPromoCode;
|
||||||
|
|
@ -1430,7 +1430,7 @@ export const actions = {
|
||||||
firstName: order.customer.firstName,
|
firstName: order.customer.firstName,
|
||||||
lastName: order.customer.lastName,
|
lastName: order.customer.lastName,
|
||||||
isSmsOptIn: order.customer.isSmsOptIn,
|
isSmsOptIn: order.customer.isSmsOptIn,
|
||||||
phoneNumber: order.customer.phoneNumber,
|
servicePhoneNumber: order.customer.phoneNumber,
|
||||||
},
|
},
|
||||||
damage: {
|
damage: {
|
||||||
numberOfChips: damage.numberOfChips,
|
numberOfChips: damage.numberOfChips,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue