added merchants resource

This commit is contained in:
Joe Arndt 2026-02-08 15:21:47 -06:00
parent d7ad5828af
commit b5ced781c9
17 changed files with 214 additions and 80 deletions

View file

@ -0,0 +1,11 @@
meta {
name: LOC DELETE Merchant
type: http
seq: 5
}
delete {
url: {{localBaseUrl}}/merchants/cbf30070-9ff7-419f-a567-f7d145be445b
body: none
auth: inherit
}

View file

@ -0,0 +1,15 @@
meta {
name: LOC GET Merchant By ID
type: http
seq: 2
}
get {
url: {{localBaseUrl}}/merchants/{{merchantId}}
body: none
auth: inherit
}
vars:pre-request {
merchantId: 1d6d2842-b271-489b-bd93-e3ceaee5a139
}

View file

@ -0,0 +1,11 @@
meta {
name: LOC GET Merchants
type: http
seq: 1
}
get {
url: {{localBaseUrl}}/merchants
body: none
auth: inherit
}

View file

@ -0,0 +1,17 @@
meta {
name: LOC POST Merchant
type: http
seq: 3
}
post {
url: {{localBaseUrl}}/merchants
body: json
auth: inherit
}
body:json {
{
"name": "Walmart"
}
}

View file

@ -0,0 +1,18 @@
meta {
name: LOC PUT Merchant
type: http
seq: 4
}
put {
url: {{localBaseUrl}}/merchants
body: json
auth: inherit
}
body:json {
{
"id": "1d6d2842-b271-489b-bd93-e3ceaee5a139",
"name": "Walmart"
}
}

View file

@ -0,0 +1,8 @@
meta {
name: Merchants
seq: 3
}
auth {
mode: inherit
}