u
This commit is contained in:
@@ -54,6 +54,10 @@ async function run() {
|
||||
name: 'Max Mustermann',
|
||||
});
|
||||
|
||||
const carrier = await store.carrier.create(googleAuthId, {
|
||||
name: 'Standard Carrier',
|
||||
});
|
||||
|
||||
// 2. Setup tracked article and untracked article
|
||||
const trackedArt = await store.article.createUnderParent({
|
||||
googleAuthId,
|
||||
@@ -117,6 +121,7 @@ async function run() {
|
||||
});
|
||||
const shippingOpen = await store.shipping.create(googleAuthId, {
|
||||
manifestId: shipment.id,
|
||||
carrierId: carrier.id,
|
||||
type: 'parcel',
|
||||
state: 'open',
|
||||
});
|
||||
@@ -219,6 +224,7 @@ async function run() {
|
||||
async () => {
|
||||
await store.shipping.create(googleAuthId, {
|
||||
manifestId: order.id,
|
||||
carrierId: carrier.id,
|
||||
type: 'express',
|
||||
state: 'shipped',
|
||||
});
|
||||
@@ -251,6 +257,7 @@ async function run() {
|
||||
|
||||
const directShipped = await store.shipping.create(googleAuthId, {
|
||||
manifestId: shipment2.id,
|
||||
carrierId: carrier.id,
|
||||
type: 'parcel',
|
||||
state: 'shipped',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user