-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[ | ||
{ | ||
"method": "POST", | ||
"url": "https://api.url/media", | ||
"body": { | ||
"id": "podajemy manualnie id by wiedzieć co potem dodać potem do produktu" | ||
}, | ||
"auth": { | ||
"email": "[email protected]", | ||
"password": "secret" | ||
}, | ||
"files": { | ||
"file": "https://example.com/image.jpg" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[ | ||
{ | ||
"method": "POST", | ||
"url": "https://api.url/products", | ||
"body": { | ||
"id": "podajemy manualnie jeśli chcemy by wiedzieć do czego zpatchować potem seo", | ||
"media": ["uuid-media-1"] | ||
}, | ||
"auth": { | ||
"email": "[email protected]", | ||
"password": "secret" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[ | ||
{ | ||
"method": "PATCH", | ||
"url": "https://api.url/products/id:uuid-product-1", | ||
"body": { | ||
"seo": { | ||
"title": "sample title", | ||
"description": "description", | ||
"og_image_id": "tu pewnie uuid jakiegoś media?" | ||
} | ||
}, | ||
"auth": { | ||
"email": "[email protected]", | ||
"password": "secret" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[ | ||
{ | ||
"method": "POST", | ||
"url": "https://api.url/organizations", | ||
"body": { | ||
"id": "manual-uuid if needed", | ||
"client_id": "client-id", | ||
"billing_email": "[email protected]", | ||
"billing_address": { | ||
"name": "string", | ||
"company_name": "string", | ||
"address": "string", | ||
"city": "string", | ||
"country": "string", | ||
"country_name": "string", | ||
"phone": "string", | ||
"vat": "string", | ||
"zip": "string" | ||
}, | ||
"consents": { | ||
"uuid": true | ||
}, | ||
"sales_channel_id": "sales-channel-id", | ||
"shipping_addresses": [ | ||
{ | ||
"default": true, | ||
"name": "default", | ||
"address": { | ||
"name": "string", | ||
"company_name": "string", | ||
"address": "string", | ||
"city": "string", | ||
"country": "string", | ||
"country_name": "string", | ||
"phone": "string", | ||
"vat": "string", | ||
"zip": "string" | ||
} | ||
} | ||
] | ||
}, | ||
"auth": { | ||
"email": "[email protected]", | ||
"password": "secret" | ||
} | ||
} | ||
] |